summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Math/clz32/Math.clz32_2.js
blob: b5e2fd8804590f9d5b270a6b63e837aa43c04c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2014 Ryan Lewis. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es6id: 20.2.2.11
author: Ryan Lewis
description: Math.clz32 should return 0 if passed 2147483648
---*/

assert.sameValue(Math.clz32(2147483648), 0, 'Math.clz32(2147483648)');

reportCompare(0, 0);