Add IsFloatingPoint and IsArithmetic type traits
Created attachment 67978 [details] Patch
Attachment 67978 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 JavaScriptCore/wtf/TypeTraits.h:65: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/TypeTraits.h:66: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/TypeTraits.h:67: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/TypeTraits.h:68: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/TypeTraits.h:70: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/TypeTraits.h:74: More than one command on the same line [whitespace/newline] [4] Total errors found: 6 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 67978 [details] Patch You should add tests in the .cpp file (as COMPILE_ASSERTS).
Committed r67765: <http://trac.webkit.org/changeset/67765>