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)
constexpr

Definition at line 25 of file approx_math.h.

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

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

Referenced by unsafe_expf_impl().

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
vertices_cff.x
x
Definition: vertices_cff.py:29
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19