blob: faaae0a6cc40a1767623e77b3fd207d338e96a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: If x is +Infinity, Math.cos(x) is NaN
es5id: 15.8.2.7_A4
description: Checking if Math.cos(+Infinity) is NaN
---*/
assert.sameValue(Math.cos(Infinity), NaN);
reportCompare(0, 0);
|