OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:IsFloatingPoint
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
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);
TypeTraits.h
68
template<typename T> struct
IsFloatingPoint
{ static const bool value = false; };
69
template<> struct
IsFloatingPoint
<float> { static const bool value = true; };
70
template<> struct
IsFloatingPoint
<double> { static const bool value = true; };
71
template<> struct
IsFloatingPoint
<long double> { static const bool value = true; };
73
template<typename T> struct IsArithmetic { static const bool value = IsInteger<T>::value ||
IsFloatingPoint
<T>::value; };
Completed in 39 milliseconds