diff options
Diffstat (limited to 'mathfuncs_sqrt.h')
-rw-r--r-- | mathfuncs_sqrt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mathfuncs_sqrt.h b/mathfuncs_sqrt.h index 9be05bf..97307d0 100644 --- a/mathfuncs_sqrt.h +++ b/mathfuncs_sqrt.h @@ -27,8 +27,8 @@ namespace vecmathlib { // TODO: divide by M_SQRT2 if ilogb_x % 2 == 1 ? #else real_t correction = - std::ldexp(R(FP::exponent_offset & 1 ? M_SQRT2 : 1.0), - FP::exponent_offset >> 1); + vml_std::ldexp(R(FP::exponent_offset & 1 ? M_SQRT2 : 1.0), + FP::exponent_offset >> 1); realvec_t r = lsr(x.as_int(), 1).as_float() * RV(correction); #endif |