Fixes math library compiling on msvc (#4511)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2021-02-04 20:19:13 +08:00
committed by GitHub
parent 9dbb594170
commit aa941ed58e
8 changed files with 40 additions and 21 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ log1p (double x)
if (x == -1.0)
{
/* log1p(-1) = -inf */
return -two54 / zero;
return -INFINITY;
}
else
{