From e6ee867f72e3b817627d70c94c2f77f68d070eba Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Sat, 11 Sep 2021 16:54:35 +0900 Subject: [PATCH] Tweak math/nan docstring --- 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 c7424253..b775fce5 100644 --- a/src/core/math.c +++ b/src/core/math.c @@ -375,7 +375,7 @@ void janet_lib_math(JanetTable *env) { JANET_CORE_DEF(env, "math/int-max", janet_wrap_number(JANET_INTMAX_DOUBLE), "The maximum contiguous integer represtenable by a double (-(2^53))"); #ifdef NAN - JANET_CORE_DEF(env, "math/nan", janet_wrap_number(NAN), "Not a number (IEEE-754 NaN"); + JANET_CORE_DEF(env, "math/nan", janet_wrap_number(NAN), "Not a number (IEEE-754 NaN)"); #else JANET_CORE_DEF(env, "math/nan", janet_wrap_number(0.0 / 0.0), "Not a number (IEEE-754 NaN)"); #endif