2011-10-03 13:04:52 -07:00

19 lines
511 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Math.LOG2E is approximately 1.4426950408889634
*
* @path ch15/15.8/15.8.1/15.8.1.4/S15.8.1.4_A1.js
* @description Comparing Math.LOG2E with 1.4426950408889634
*/
$INCLUDE("math_precision.js");
$INCLUDE("math_isequal.js");
// CHECK#1
if (!isEqual(Math.LOG2E, 1.4426950408889634)) {
$ERROR('#1: \'Math.LOG2E is not approximatley equal to 1.4426950408889634\'');
}