diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-03-22 23:22:21 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-03-22 23:22:21 -0400 |
commit | 49ba80115cfd2a242c2f0ee5e4c86c97e0a12acb (patch) | |
tree | 57b63bd1d3fb64182b33d022e1d992010c518f93 /vec_pseudo.h | |
parent | f1e3688bb3b455fe29c7e3cbe52bff3d47d51c2b (diff) | |
download | vecmathlib-49ba80115cfd2a242c2f0ee5e4c86c97e0a12acb.zip vecmathlib-49ba80115cfd2a242c2f0ee5e4c86c97e0a12acb.tar.gz |
Do not use "using namespace std" any more
Diffstat (limited to 'vec_pseudo.h')
-rw-r--r-- | vec_pseudo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vec_pseudo.h b/vec_pseudo.h index ad3a70c..c39fa5c 100644 --- a/vec_pseudo.h +++ b/vec_pseudo.h @@ -379,7 +379,7 @@ namespace vecmathlib { { static std::string name_; if (name_.empty()) { - stringstream buf; + std::stringstream buf; buf << "<libm:" << N << "*" << FP::name() << ">"; name_ = buf.str(); } @@ -682,8 +682,8 @@ namespace vecmathlib { intvec_t res; for (int d=0; d<size; ++d) { int_t r = std::ilogb(v[d]); - if (r == FP_ILOGB0) r = numeric_limits<int_t>::min(); - else if (r == FP_ILOGBNAN) r = numeric_limits<int_t>::max(); + if (r == FP_ILOGB0) r = std::numeric_limits<int_t>::min(); + else if (r == FP_ILOGBNAN) r = std::numeric_limits<int_t>::max(); res.v[d] = r; } return res; |