From 9bc47e766ef27003eb4b1d2d6d2f974bcceed00c Mon Sep 17 00:00:00 2001 From: sogaiu <983021772@users.noreply.github.com> Date: Sun, 14 Dec 2025 13:41:00 +0900 Subject: [PATCH] Fix math/int-{max,min} docstrings --- src/core/math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/math.c b/src/core/math.c index 4aa22a9f..b809dc11 100644 --- a/src/core/math.c +++ b/src/core/math.c @@ -441,9 +441,9 @@ void janet_lib_math(JanetTable *env) { JANET_CORE_DEF(env, "math/int32-max", janet_wrap_number(INT32_MAX), "The maximum contiguous integer representable by a 32 bit signed integer"); JANET_CORE_DEF(env, "math/int-min", janet_wrap_number(JANET_INTMIN_DOUBLE), - "The minimum contiguous integer representable by a double (2^53)"); + "The minimum contiguous integer representable by a double (-(2^53))"); JANET_CORE_DEF(env, "math/int-max", janet_wrap_number(JANET_INTMAX_DOUBLE), - "The maximum contiguous integer representable by a double (-(2^53))"); + "The maximum contiguous integer representable by a double (2^53)"); #ifdef NAN JANET_CORE_DEF(env, "math/nan", janet_wrap_number(NAN), "Not a number (IEEE-754 NaN)"); #else