summaryrefslogtreecommitdiffstats
path: root/mathfuncs_exp.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_exp.h
parent3dd2cd307b3795e7061fa1ff715903764b35df61 (diff)
downloadvecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.zip
vecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.tar.gz
Add cbrt, hypot, trunc; rename scalbn to ldexp
Diffstat (limited to 'mathfuncs_exp.h')
-rw-r--r--mathfuncs_exp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_exp.h b/mathfuncs_exp.h
index f7e917d..ceb89c0 100644
--- a/mathfuncs_exp.h
+++ b/mathfuncs_exp.h
@@ -19,7 +19,7 @@ namespace vecmathlib {
// realvec_t round_x = round(x);
// intvec_t iround_x = convert_int(round_x);
- // r = scalbn(r, iround_x);
+ // r = ldexp(r, iround_x);
// Round by adding, then subtracting again a large number
// Add a large number to move the mantissa bits to the right
OpenPOWER on IntegriCloud