AFloat Struct Reference

#include <datatype.h>

Detailed Description

The main purpose of the type AFloat is as template argument for GetDataType: GetDataType<AFloat>() returns the architecture-dependent Float type, while GetDataType<Float>() returns either the Float64 or Float32 type, depending on the architecture which is used for the compilation and which sets Float just as an alias for either Float64 or Float32.

AFloat is layout-compatible with Float.

Public Member Functions

 operator Float () const
 

Public Attributes

Float value
 

Member Function Documentation

◆ operator Float()

operator Float ( ) const

Member Data Documentation

◆ value

Float value