aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-11-28 23:08:17 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-11-28 23:08:17 +0100
commit976bb52af7394ce283d7972c17edcc18fb795086 (patch)
treed176f9931f0d7705b9efecc3b412aa8b2a264a48
parentdd20a587e8c083afa0e51e6d34b95d93a5acb7fd (diff)
Always use new itoa method when MATH_BIG_FORCE_32_BIT
-rw-r--r--core/math/big/radix.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/radix.odin b/core/math/big/radix.odin
index 878df3796..9c87440fc 100644
--- a/core/math/big/radix.odin
+++ b/core/math/big/radix.odin
@@ -228,7 +228,7 @@ int_itoa_raw :: proc(a: ^Int, radix: i8, buffer: []u8, size := int(-1), zero_ter
// If we optimize `itoa` further, this needs to be evaluated.
itoa_method := _itoa_raw_full
- when ODIN_OPTIMIZATION_MODE >= .Size {
+ when !MATH_BIG_FORCE_32_BIT && ODIN_OPTIMIZATION_MODE >= .Size {
if count >= 32768 {
itoa_method = _itoa_raw_old
}