tests/auto/qml/ecmascripttests/test262/test/built-ins/Math/LN10/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.LN10 is a numeric value |
| 5 | esid: sec-math.ln10 |
| 6 | es6id: 20.2.1.2 |
| 7 | info: | |
| 8 | The Number value for the natural logarithm of 10, which is approximately |
| 9 | 2.302585092994046. |
| 10 | |
| 11 | The precision of this approximation is host-defined. |
| 12 | ---*/ |
| 13 | |
| 14 | assert.sameValue(typeof Math.LN10, 'number'); |
| 15 | assert.notSameValue(Math.LN10, NaN); |