From 20ada86761f4c7a973acffe3709b29d426c27f0a Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Fri, 12 May 2023 19:08:26 -0500 Subject: [PATCH] Fix NAN typo. --- src/core/math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/math.c b/src/core/math.c index c65294d0..c5aea93f 100644 --- a/src/core/math.c +++ b/src/core/math.c @@ -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;