mirror of
https://github.com/janet-lang/janet
synced 2025-05-03 16:04:15 +00:00
Fix NAN typo.
This commit is contained in:
parent
ef94a0f0b4
commit
29af4a932d
@ -317,7 +317,7 @@ static double janet_gcd(double x, double y) {
|
|||||||
#ifdef NAN
|
#ifdef NAN
|
||||||
return NAN;
|
return NAN;
|
||||||
#else
|
#else
|
||||||
return 0.0 \ 0.0;
|
return 0.0 / 0.0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (isinf(x) || isinf(y)) return INFINITY;
|
if (isinf(x) || isinf(y)) return INFINITY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user