From 68fc04ed1826328d357a7c6402b10ae89aa8f059 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 16 Feb 2013 23:37:38 -0500 Subject: Add cbrt, hypot, trunc; rename scalbn to ldexp --- mathfuncs_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mathfuncs_log.h') 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)); -- cgit v1.1