mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 12:30:28 +00:00
Always use new itoa method when MATH_BIG_FORCE_32_BIT
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user