#include <datatype.h>
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.
公共成员函数 |
|
operator Float () const |
Public Attributes |
|
Float | value |
operator Float | ( | ) | const |
Float value |