test262/test/built-ins/Math
Leo Balter e49d2661a8 Improve assertions comparing values to NaN (#690)
The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
2016-07-01 11:22:55 -07:00
..
E Add tests for Math constants 2016-04-18 14:39:37 -04:00
LN2 Add tests for Math constants 2016-04-18 14:39:37 -04:00
LN10 Add tests for Math constants 2016-04-18 14:39:37 -04:00
LOG2E Add tests for Math constants 2016-04-18 14:39:37 -04:00
LOG10E Add tests for Math constants 2016-04-18 14:39:37 -04:00
PI Add tests for Math constants 2016-04-18 14:39:37 -04:00
SQRT1_2 Add tests for Math constants 2016-04-18 14:39:37 -04:00
SQRT2 Add tests for Math constants 2016-04-18 14:39:37 -04:00
abs Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
acos Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
acosh Update tests for Math.acosh 2016-06-27 16:04:15 -04:00
asin Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
asinh Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
atan Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
atan2 Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
atanh Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
cbrt Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
ceil Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
clz32 Expand tests for Math.clz32 2016-06-27 16:04:15 -04:00
cos Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
cosh Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
exp Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
expm1 Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
floor Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
fround Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
hypot Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
imul Expand tests for Math.imul 2016-06-27 16:04:17 -04:00
log Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
log1p Expand tests for Math.log1p 2016-06-27 16:04:17 -04:00
log2 Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
log10 Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
max Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
min Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
pow Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
random Avoid false positives 2016-03-17 17:12:54 -04:00
round Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
sign Update tests for Math.{sign,sin,trunc} 2016-06-27 16:04:17 -04:00
sin Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
sinh Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
sqrt Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
tan Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
tanh Add missing tests for "length" and "name" properties of built-in functions 2016-01-15 18:12:05 +01:00
trunc Improve assertions comparing values to NaN (#690) 2016-07-01 11:22:55 -07:00
Symbol.toStringTag.js Add tests for well-known Symbol: @@toStringTag 2015-08-07 20:02:44 -04:00
prop-desc.js Add test for the Math object 2016-06-27 16:04:14 -04:00
proto.js Add test for the Math object 2016-06-27 16:04:14 -04:00