CMS 3D CMS Logo

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 approx_expf_P(), AlCaHLTBitMon_ParallelJobs::p, approx_math::binary32::ui32, and geometryCSVtoXML::xx.

Referenced by unsafe_expf_impl().

61  {
62  int32_t ret = x;
63  binary32 xx(x);
64  ret-=(xx.ui32>>31);
65  return ret;
66  }