test262/test/built-ins/Number/MAX_VALUE/S15.7.3.2_A1.js

17 lines
480 B
JavaScript

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