mirror of https://github.com/tc39/test262.git
17 lines
470 B
JavaScript
17 lines
470 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: Math.E is approximately 2.7182818284590452354
|
|
es5id: 15.8.1.1_A1
|
|
description: Comparing Math.E with 2.7182818284590452354
|
|
includes:
|
|
- math_precision.js
|
|
- math_isequal.js
|
|
---*/
|
|
|
|
// CHECK#1
|
|
if (!isEqual(Math.E, 2.7182818284590452354)) {
|
|
$ERROR('#1: \'Math.E is not approximately equal to 2.7182818284590452354\'');
|
|
}
|