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 12 of file approx_math.h.

Constructor & Destructor Documentation

◆ binary32() [1/4]

constexpr approx_math::binary32::binary32 ( )
inlineconstexpr

Definition at line 13 of file approx_math.h.

13 : ui32(0){};

◆ binary32() [2/4]

constexpr approx_math::binary32::binary32 ( float  ff)
inlineconstexpr

Definition at line 14 of file approx_math.h.

14 : f(ff){};

◆ binary32() [3/4]

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

Definition at line 15 of file approx_math.h.

15 : i32(ii) {}

◆ binary32() [4/4]

constexpr approx_math::binary32::binary32 ( uint32_t  ui)
inlineconstexpr

Definition at line 16 of file approx_math.h.

16 : ui32(ui) {}

Member Data Documentation

◆ f

float approx_math::binary32::f

◆ i32

int32_t approx_math::binary32::i32

Definition at line 19 of file approx_math.h.

◆ ui32

uint32_t approx_math::binary32::ui32

Definition at line 18 of file approx_math.h.

Referenced by unsafe_expf_impl().

interactiveExample.ui
ui
Definition: interactiveExample.py:13
approx_math::binary32::ui32
uint32_t ui32
Definition: approx_math.h:18
alignCSCRings.ff
ff
Definition: alignCSCRings.py:148
approx_math::binary32::f
float f
Definition: approx_math.h:20
approx_math::binary32::i32
int32_t i32
Definition: approx_math.h:19
cuy.ii
ii
Definition: cuy.py:589