CMS 3D CMS Logo

Classes | Functions
approx_math Namespace Reference

Classes

union  binary32
 

Functions

constexpr float fpfloor (float x)
 

Function Documentation

◆ fpfloor()

constexpr float approx_math::fpfloor ( float  x)

Definition at line 25 of file approx_math.h.

References runTheMatrix::ret, x, and geometryCSVtoXML::xx.

Referenced by unsafe_expf_impl().

25  {
26  int32_t ret = x;
27  binary32 xx(x);
28  ret -= (xx.ui32 >> 31);
29  return ret;
30  }
ret
prodAgent to be discontinued
float x