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 ( )
inline

Definition at line 13 of file approx_math.h.

13 : ui32(0){};

◆ binary32() [2/4]

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

Definition at line 14 of file approx_math.h.

◆ binary32() [3/4]

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

Definition at line 15 of file approx_math.h.

15 : i32(ii) {}
ii
Definition: cuy.py:589

◆ binary32() [4/4]

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

Definition at line 16 of file approx_math.h.

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.