mirror of
https://github.com/tc39/test262.git
synced 2025-05-17 13:20:28 +02:00
Closes gh-540 Because the specific value of each constant is specified as a host-defined approximation, only the value type may be enforced by Test262.
16 lines
527 B
JavaScript
16 lines
527 B
JavaScript
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
description: Math.LOG10E is a numeric value
|
|
esid: sec-math.log10e
|
|
es6id: 20.2.1.4
|
|
info: >
|
|
The Number value for the base-10 logarithm of e, the base of the natural
|
|
logarithms; this value is approximately 0.4342944819032518.
|
|
|
|
The precision of this approximation is host-defined.
|
|
---*/
|
|
|
|
assert.sameValue(typeof Math.LOG10E, 'number');
|
|
assert.notSameValue(Math.LOG10E, NaN);
|