Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: test/mjsunit/harmony/math-hyperbolic.js

Issue 178223011: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/harmony/math-fround.js ('k') | test/mjsunit/harmony/math-log1p.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/math-hyperbolic.js
diff --git a/test/mjsunit/harmony/math-hyperbolic.js b/test/mjsunit/harmony/math-hyperbolic.js
index c45a19c526db3315a7d52fb521940ae3ba59e710..604448d89add4ab49ebfe004cf01912e4b65a0bd 100644
--- a/test/mjsunit/harmony/math-hyperbolic.js
+++ b/test/mjsunit/harmony/math-hyperbolic.js
@@ -60,7 +60,7 @@ function test_id(fun, rev, value) {
});
-[Math.sinh, Math.asinh].forEach(function(fun) {
+[Math.sinh, Math.asinh, Math.cosh].forEach(function(fun) {
assertEquals("-Infinity", String(fun(-Infinity)));
assertEquals("Infinity", String(fun(Infinity)));
assertEquals("-Infinity", String(fun("-Infinity")));
@@ -68,12 +68,6 @@ function test_id(fun, rev, value) {
});
-assertEquals("Infinity", String(Math.cosh(-Infinity)));
-assertEquals("Infinity", String(Math.cosh(Infinity)));
-assertEquals("Infinity", String(Math.cosh("-Infinity")));
-assertEquals("Infinity", String(Math.cosh("Infinity")));
-
-
assertEquals("-Infinity", String(Math.atanh(-1)));
assertEquals("Infinity", String(Math.atanh(1)));
« no previous file with comments | « test/mjsunit/harmony/math-fround.js ('k') | test/mjsunit/harmony/math-log1p.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698