summaryrefslogtreecommitdiffstats
path: root/mathfuncs_fabs.h
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-02-16 23:37:38 -0500
committerErik Schnetter <schnetter@gmail.com>2013-02-16 23:37:38 -0500
commit68fc04ed1826328d357a7c6402b10ae89aa8f059 (patch)
treefe290c5ba3cb6744b403bda6a82c6b8fd0ed7628 /mathfuncs_fabs.h
parent3dd2cd307b3795e7061fa1ff715903764b35df61 (diff)
downloadvecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.zip
vecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.tar.gz
Add cbrt, hypot, trunc; rename scalbn to ldexp
Diffstat (limited to 'mathfuncs_fabs.h')
-rw-r--r--mathfuncs_fabs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_fabs.h b/mathfuncs_fabs.h
index aee8a18..1050147 100644
--- a/mathfuncs_fabs.h
+++ b/mathfuncs_fabs.h
@@ -103,7 +103,7 @@ namespace vecmathlib {
}
template<typename realvec_t>
- realvec_t mathfuncs<realvec_t>::vml_scalbn(realvec_t x, intvec_t n)
+ realvec_t mathfuncs<realvec_t>::vml_ldexp(realvec_t x, intvec_t n)
{
return as_float(as_int(x) + (n << I(FP::mantissa_bits)));
// return x * as_float((n + exponent_offset) << mantissa_bits);
OpenPOWER on IntegriCloud