test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
approx_math Namespace Reference

Classes

union  binary32
 

Functions

float fpfloor (float x)
 

Function Documentation

float approx_math::fpfloor ( float  x)
inline

Definition at line 61 of file approx_exp.h.

References runTheMatrix::ret, and approx_math::binary32::ui32.

Referenced by unsafe_expf_impl().

61  {
62  int32_t ret = x;
63  binary32 xx(x);
64  ret-=(xx.ui32>>31);
65  return ret;
66  }
tuple ret
prodAgent to be discontinued
T x() const
Cartesian x coordinate.