diff options
Diffstat (limited to 'mathfuncs_fabs.h')
-rw-r--r-- | mathfuncs_fabs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mathfuncs_fabs.h b/mathfuncs_fabs.h index 3d59725..f2f809e 100644 --- a/mathfuncs_fabs.h +++ b/mathfuncs_fabs.h @@ -106,7 +106,7 @@ namespace vecmathlib { template<typename realvec_t> realvec_t mathfuncs<realvec_t>::vml_scalbn(realvec_t x, intvec_t n) { - return as_float(as_int(x) + (n << IV(FP::mantissa_bits))); + return as_float(as_int(x) + (n << I(FP::mantissa_bits))); // return x * as_float((n + exponent_offset) << mantissa_bits); } |