5 #if GLM_COMPILER == GLM_COMPILER_VC12
7 # pragma warning(disable: 4512) // assignment operator could not be generated
22 typedef float float_type;
24 GLM_CONSTEXPR float_t(float_type Num = 0.0f) : f(Num) {}
26 GLM_CONSTEXPR float_t& operator=(float_t
const& x)
33 GLM_CONSTEXPR
bool negative()
const {
return i < 0; }
34 GLM_CONSTEXPR int_type mantissa()
const {
return i & ((1 << 23) - 1); }
35 GLM_CONSTEXPR int_type exponent()
const {
return (i >> 23) & ((1 << 8) - 1); }
45 typedef double float_type;
47 GLM_CONSTEXPR float_t(float_type Num = static_cast<float_type>(0)) : f(Num) {}
49 GLM_CONSTEXPR float_t& operator=(float_t
const& x)
56 GLM_CONSTEXPR
bool negative()
const {
return i < 0; }
57 GLM_CONSTEXPR int_type mantissa()
const {
return i & ((int_type(1) << 52) - 1); }
58 GLM_CONSTEXPR int_type exponent()
const {
return (i >> 52) & ((int_type(1) << 11) - 1); }
66 #if GLM_COMPILER == GLM_COMPILER_VC12
detail::int64 int64
64 bit signed integer type.