summaryrefslogtreecommitdiff
path: root/test/built-ins/Math/ceil/S15.8.2.6_A1.js
blob: 55fc1b73b407d13b45edbae2a1417a18acaa37a3 (plain)
1
2
3
4
5
6
7
8
9
10
// 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 NaN, Math.ceil(x) is NaN
es5id: 15.8.2.6_A1
description: Checking if Math.ceil(NaN) is NaN
---*/

assert.sameValue(Math.ceil(NaN), NaN);