ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::boxing::detail::UnionFloatingPoints Union Reference

Description:

Inner union with various constexpr constructors (not shown in documentation) to support the initialization of the outer union as constexpr.

Collects scalar floating points and arrays of those.

Definition at line 185 of file boxing/placeholder.inl.

Public Field Index:

double Double
 A double value.
 
double DoubleArray [2 *sizeof(void *)/sizeof(double)]
 Array of double. The Length is usually 2 on 64-bit platform, 1 on a 32-bit platform.
 
float Float
 A float value.
 
float FloatArray [2 *sizeof(void *)/sizeof(float)]
 Array of float. The Length is usually 4 on 64-bit platform, 2 on a 32-bit platform.
 

Public Method Index:

constexpr UnionFloatingPoints (double value)
 
constexpr UnionFloatingPoints (float value)
 

Field Details:

◆ Double

double alib::boxing::detail::UnionFloatingPoints::Double

A double value.

Definition at line 188 of file boxing/placeholder.inl.

◆ DoubleArray

double alib::boxing::detail::UnionFloatingPoints::DoubleArray[2 *sizeof(void *)/sizeof(double)]

Array of double. The Length is usually 2 on 64-bit platform, 1 on a 32-bit platform.

Definition at line 194 of file boxing/placeholder.inl.

◆ Float

float alib::boxing::detail::UnionFloatingPoints::Float

A float value.

Definition at line 187 of file boxing/placeholder.inl.

◆ FloatArray

float alib::boxing::detail::UnionFloatingPoints::FloatArray[2 *sizeof(void *)/sizeof(float)]

Array of float. The Length is usually 4 on 64-bit platform, 2 on a 32-bit platform.

Definition at line 191 of file boxing/placeholder.inl.

Constructor(s) / Destructor Details:

◆ UnionFloatingPoints() [1/2]

alib::boxing::detail::UnionFloatingPoints::UnionFloatingPoints ( float value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 198 of file boxing/placeholder.inl.

◆ UnionFloatingPoints() [2/2]

alib::boxing::detail::UnionFloatingPoints::UnionFloatingPoints ( double value)
inlineconstexpr

Constructor allowing constexpr initialization.

Parameters
valueThe value to store.

Definition at line 201 of file boxing/placeholder.inl.


The documentation for this union was generated from the following file: