Ocean
|
This struct is a helper struct providing a floating point data type best matching for a given data type. More...
Public Types | |
typedef float | Type |
The 32 bit floating point data type for any data type T but 'double'. More... | |
This struct is a helper struct providing a floating point data type best matching for a given data type.
The resulting data type is either a 32 bit floating point data type or a 64 bit floating point data type.
Overall, the Type field of this struct follows this simple pattern:
T: MatchingFloat<T>::Type: double double float float char float int float 'any other type' float
T | The data type for which the matching floating point data type is needed |
typedef float Ocean::FloatTyper< T >::Type |
The 32 bit floating point data type for any data type T but 'double'.