From d188083da369df34c337a15aeccf3d07c770cdf4 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Wed, 23 Sep 2026 14:35:33 +0100 Subject: [PATCH] Update documentation for mantissa and exponent return values Clarified documentation regarding zero mantissa handling. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- include/xrpl/basics/Number.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/xrpl/basics/Number.h b/include/xrpl/basics/Number.h index 7ac2599321..896304d742 100644 --- a/include/xrpl/basics/Number.h +++ b/include/xrpl/basics/Number.h @@ -618,8 +618,7 @@ public: * @param mantissa Raw signed mantissa (sign is extracted internally). * @param exponent Raw exponent. * @return The normalized (mantissa, exponent) pair in the target range. - * A zero mantissa is returned as {mantissa=0, exponent=0, negative=false}. - * @note The result is bit-identical to the two-pass path: an intermediate + * A zero mantissa is returned as {mantissa=0, exponent=0} (sign is not preserved for zero). * pass to a strictly wider range cannot change the final * narrower-range result. * @note Thread-safety: reads the thread-local rounding mode only; holds no