Kicking it Olde Sküül! Burgerlib on Github Follow Olde Sküül on Twitter Burgerbecky on LinkedIn Burgerbecky on LinkedIn
Loading...
Searching...
No Matches
Burger::Vector_128Float64 Struct Reference

Structure to create a 128 vector with 64 bit floating point constants. More...

Public Member Functions

 operator Vector_128 () const noexcept
 Accessor to load the 128 bit vector value.
 

Public Attributes

union { 
 
   double   d [2] 
 Value as 2 64 bit floats. More...
 
   Vector_128   v 
 Value as a 128 bit vector. More...
 
};  
 

Detailed Description

Structure to create a 128 vector with 64 bit floating point constants.


There is no standard for initializing 128 bit vectors at compile time. This structure fixes the problem by creating a union between the 128 bit value and an array of data that maps directly over it.

// Initialize with 2 64 bit floats
const Burger::Vector_128Float64 One_Vector = {{1.0,-55.0}};
Structure to create a 128 vector with 64 bit floating point constants.
Definition burger.h:1650
See also
Vector_128Word64, Vector_128Float32, Vector_128Word32, Vector_128Word16, Vector_128Word8, Vector_128Int32

Member Function Documentation

◆ operator Vector_128()

Burger::Vector_128Float64::operator Vector_128 ( ) const
inlinenoexcept

Accessor to load the 128 bit vector value.


See also
Vector_128Float64 or Vector_128

Member Data Documentation

◆ [union]

◆ d

double Burger::Vector_128Float64::d[2]

Value as 2 64 bit floats.

◆ v

Vector_128 Burger::Vector_128Float64::v

Value as a 128 bit vector.