CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
approx_math::binary32 Union Reference

#include <approx_math.h>

Public Member Functions

constexpr binary32 ()
 
constexpr binary32 (float ff)
 
constexpr binary32 (int32_t ii)
 
constexpr binary32 (uint32_t ui)
 

Public Attributes

float f
 
int32_t i32
 
uint32_t ui32
 

Detailed Description

Definition at line 13 of file approx_math.h.

Constructor & Destructor Documentation

constexpr approx_math::binary32::binary32 ( )
inline

Definition at line 14 of file approx_math.h.

14 : ui32(0) {};
constexpr approx_math::binary32::binary32 ( float  ff)
inline

Definition at line 15 of file approx_math.h.

constexpr approx_math::binary32::binary32 ( int32_t  ii)
inline

Definition at line 16 of file approx_math.h.

16 : i32(ii){}
ii
Definition: cuy.py:590
constexpr approx_math::binary32::binary32 ( uint32_t  ui)
inline

Definition at line 17 of file approx_math.h.

Member Data Documentation

float approx_math::binary32::f
int32_t approx_math::binary32::i32

Definition at line 20 of file approx_math.h.

Referenced by unsafe_logf_impl().

uint32_t approx_math::binary32::ui32

Definition at line 19 of file approx_math.h.

Referenced by approx_math::fpfloor(), and unsafe_expf_impl().