Debian Codegraph @

js/src/tests/test262/built-ins/Math/LOG2E/value.js

raw
1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 description: Math.LOG2E is a numeric value
5 esid: sec-math.log2e
6 info: |
7 The Number value for the base-2 logarithm of e, the base of the natural
8 logarithms; this value is approximately 1.4426950408889634.
9
10 The precision of this approximation is host-defined.
11 ---*/
12
13 assert.sameValue(typeof Math.LOG2E, 'number');
14 assert.notSameValue(Math.LOG2E, NaN);
15
16 reportCompare(0, 0);