Use DBL_MIN instead of DBL_EPSILON for Num.smallest.

This commit is contained in:
Bob Nystrom
2016-08-27 17:25:32 -07:00
parent b8b0f36521
commit 09ef904d32
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -691,7 +691,7 @@ DEF_PRIMITIVE(num_largest)
DEF_PRIMITIVE(num_smallest)
{
RETURN_NUM(DBL_EPSILON);
RETURN_NUM(DBL_MIN);
}
DEF_PRIMITIVE(num_toString)