static inline float
invsqrt(float x)
{
- return 1.0f/std::sqrt(x);
+ return 1.0F/std::sqrt(x);
}
/*! \brief Calculate 1.0/sqrt(x) in double precision, but single range
static inline float
invcbrt(float x)
{
- return 1.0f/std::cbrt(x);
+ return 1.0F/std::cbrt(x);
}
/*! \brief Calculate inverse sixth root of x in double precision