HomeSort by relevance Sort by last modified time
    Searched refs:IsFloatingPoint (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/wtf/
TypeTraits.h 66 template<typename T> struct IsFloatingPoint { static const bool value = false; };
67 template<> struct IsFloatingPoint<float> { static const bool value = true; };
68 template<> struct IsFloatingPoint<double> { static const bool value = true; };
69 template<> struct IsFloatingPoint<long double> { static const bool value = true; };
71 template<typename T> struct IsArithmetic { static const bool value = IsInteger<T>::value || IsFloatingPoint<T>::value; };
TypeTraits.cpp 50 COMPILE_ASSERT(IsFloatingPoint<float>::value, WTF_IsFloatingPoint_float_true);
51 COMPILE_ASSERT(IsFloatingPoint<double>::value, WTF_IsFloatingPoint_double_true);
52 COMPILE_ASSERT(IsFloatingPoint<long double>::value, WTF_IsFloatingPoint_long_double_true);
53 COMPILE_ASSERT(!IsFloatingPoint<int>::value, WTF_IsFloatingPoint_int_false);

Completed in 66 milliseconds