File types.hpp¶
Typedefs
-
typedef int int32¶
-
typedef long int int64¶
-
typedef unsigned char uint8¶
-
typedef unsigned int uint32¶
-
typedef float float32¶
-
typedef double float64¶
Functions
-
template<typename T>
inline bool isEqual(T a, T b)¶ Returns whether two values
a
andb
are equal or not.- Template Parameters:
T – The type of the values to be compared
- Parameters:
a – The first value
b – The second value
- Returns:
True if the given values are equal, false otherwise
-
template<>
inline bool isEqual(float32 a, float32 b)¶ Returns whether two values
a
andb
of typefloat32
are (approximately) equal or not.- Parameters:
a – The first value
b – The second value
- Returns:
True if the given values are equal, false otherwise