Always use new itoa method when MATH_BIG_FORCE_32_BIT

This commit is contained in:
Jeroen van Rijn
2025-11-28 23:08:17 +01:00
parent dd20a587e8
commit 976bb52af7

View File

@@ -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
}