mirror of
https://github.com/janet-lang/janet
synced 2025-09-12 15:56:07 +00:00
Fix NAN typo.
This commit is contained in:
@@ -317,7 +317,7 @@ static double janet_gcd(double x, double y) {
|
||||
#ifdef NAN
|
||||
return NAN;
|
||||
#else
|
||||
return 0.0 \ 0.0;
|
||||
return 0.0 / 0.0;
|
||||
#endif
|
||||
}
|
||||
if (isinf(x) || isinf(y)) return INFINITY;
|
||||
|
Reference in New Issue
Block a user