summaryrefslogtreecommitdiff
path: root/external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js
diff options
context:
space:
mode:
Diffstat (limited to 'external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js')
-rw-r--r--external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js
new file mode 100644
index 000000000..dbc0e0351
--- /dev/null
+++ b/external/contributions/Google/sputnik_conformance_modified/15_Native/15.7_Number_Objects/15.7.3_Properties_of_Number_Constructor/15.7.3.3_Number.MIN_VALUE/S15.7.3.3_A1.js
@@ -0,0 +1,17 @@
+// Copyright 2009 the Sputnik authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @name: S15.7.3.3_A1;
+ * @section: 15.7.3.3;
+ * @assertion: Number.MIN_VALUE is approximately 5e-324;
+ * @description: Checking Number.MIN_VALUE value;
+*/
+
+$INCLUDE("math_precision.js");
+$INCLUDE("math_isequal.js");
+
+// CHECK#1
+if (!isEqual(Number.MIN_VALUE, 5e-324)) {
+ $ERROR('#1: Number.MIN_VALUE approximately equal to 5e-324');
+}