summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/15_Native/15.8_The_Math_Object/15.8.1_Value_Properties_of_the_Math_Object/15.8.1.5_LOG10E/S15.8.1.5_A1.js
blob: 4442f7ec3242fc74122fa0ffba4f038706acf123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
 * @name: S15.8.1.5_A1;
 * @section: 15.8.1.5;
 * @assertion: Math.LOG10E is approximately 0.4342944819032518;
 * @description: Comparing Math.LOG10E with 0.4342944819032518;
 */
$INCLUDE("math_precision.js");
$INCLUDE("math_isequal.js");

// CHECK#1
if (!isEqual(Math.LOG10E, 0.4342944819032518)) {
  $ERROR('#1: \'Math.LOG10E is not approximatley equal to  0.4342944819032518\'');
}