summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Math/clz32/Math.clz32_1.js
blob: bdae08044f71284a207371d7d43b61c7cb8aa5f1 (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 31 if passed 1.
---*/

assert.sameValue(Math.clz32(1), 31, 'Math.clz32(1)');

reportCompare(0, 0);