Debian Codegraph @

js/src/tests/test262/built-ins/Math/acosh/arg-is-infinity.js

raw
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);