We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f87c0a commit 375c8a8Copy full SHA for 375c8a8
1 file changed
jsnumber.c
@@ -83,8 +83,8 @@ void jsB_initnumber(js_State *J)
83
}
84
js_newcconstructor(J, jsB_Number, jsB_new_Number, 1);
85
{
86
- jsB_propn(J, "MAX_VALUE", DBL_MAX);
87
- jsB_propn(J, "MIN_VALUE", DBL_MIN);
+ jsB_propn(J, "MAX_VALUE", 1.7976931348623157e+308);
+ jsB_propn(J, "MIN_VALUE", 5e-324);
88
jsB_propn(J, "NaN", NAN);
89
jsB_propn(J, "NEGATIVE_INFINITY", -INFINITY);
90
jsB_propn(J, "POSITIVE_INFINITY", INFINITY);
0 commit comments