diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-16 23:37:38 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-16 23:37:38 -0500 |
commit | 68fc04ed1826328d357a7c6402b10ae89aa8f059 (patch) | |
tree | fe290c5ba3cb6744b403bda6a82c6b8fd0ed7628 /mathfuncs_log.h | |
parent | 3dd2cd307b3795e7061fa1ff715903764b35df61 (diff) | |
download | vecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.zip vecmathlib-68fc04ed1826328d357a7c6402b10ae89aa8f059.tar.gz |
Add cbrt, hypot, trunc; rename scalbn to ldexp
Diffstat (limited to 'mathfuncs_log.h')
-rw-r--r-- | mathfuncs_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_log.h b/mathfuncs_log.h index de44de5..8d99a62 100644 --- a/mathfuncs_log.h +++ b/mathfuncs_log.h @@ -17,7 +17,7 @@ namespace vecmathlib { // Rescale VML_ASSERT(all(x > RV(0.0))); // intvec_t ilogb_x = ilogb(x); - // x = scalbn(x, -ilogb_x); + // x = ldexp(x, -ilogb_x); // sign bit is known to be zero intvec_t ilogb_x = (lsr(as_int(x), I(FP::mantissa_bits)) - IV(FP::exponent_offset)); |