summaryrefslogtreecommitdiffstats
path: root/mathfuncs_convert.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-06-02 21:36:55 -0400
committerErik Schnetter <schnetter@gmail.com>2013-06-02 21:36:55 -0400
commit5ae1d5a0b4c8bc98c388e2b4018eb7ab74553cfe (patch)
treee414b114723f6aa95ec636c0a7b2935b8353d57c /mathfuncs_convert.h
parent22468c8d61094e7aca952c71b862b6972a12db4f (diff)
downloadvecmathlib-5ae1d5a0b4c8bc98c388e2b4018eb7ab74553cfe.zip
vecmathlib-5ae1d5a0b4c8bc98c388e2b4018eb7ab74553cfe.tar.gz
Remove some commented-out code
Diffstat (limited to 'mathfuncs_convert.h')
-rw-r--r--mathfuncs_convert.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/mathfuncs_convert.h b/mathfuncs_convert.h
index d93d9d6..bf92b63 100644
--- a/mathfuncs_convert.h
+++ b/mathfuncs_convert.h
@@ -131,7 +131,6 @@ namespace vecmathlib {
template<typename realvec_t>
realvec_t mathfuncs<realvec_t>::vml_trunc(realvec_t x)
{
- // return copysign(floor(fabs(x)), x);
realvec_t x0 = x;
x = fabs(x);
boolvec_t istoosmall = x < RV(1.0);
@@ -151,7 +150,6 @@ namespace vecmathlib {
template<typename realvec_t>
realvec_t mathfuncs<realvec_t>::vml_antitrunc(realvec_t x)
{
- // return copysign(ceil(fabs(x)), x);
realvec_t x0 = x;
x = fabs(x);
boolvec_t iszero = x == RV(0.0);
OpenPOWER on IntegriCloud