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

19 lines
517 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Number.MAX_VALUE is approximately 1.7976931348623157e308
*
* @path ch15/15.7/15.7.3/15.7.3.2/S15.7.3.2_A1.js
* @description Checking Number.MAX_VALUE value
*/
$INCLUDE("math_precision.js");
$INCLUDE("math_isequal.js");
// CHECK#1
if (!isEqual(Number.MAX_VALUE, 1.7976931348623157e308)) {
$ERROR('#1: Number.MAX_VALUE approximately equal to 1.7976931348623157e308');
}