arg-is-infinity.js (359B)
1 // Copyright (C) 2016 The V8 Project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 esid: sec-math.acosh 6 description: > 7 Return Infinity if x is Infinity 8 info: | 9 Math.acosh ( x ) 10 11 If x is +∞, the result is +∞. 12 ---*/ 13 14 assert.sameValue(Math.acosh(Infinity), Infinity); 15 16 reportCompare(0, 0);