blob: d73dec899981a5fa6d396c65f902bac5b85e4d37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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 32 if passed 0.
---*/
assert.sameValue(Math.clz32(0), 32, 'Math.clz32(0)');
assert.sameValue(Math.clz32(-0), 32, 'Math.clz32(-0)');
reportCompare(0, 0);
|