mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
Fix issue with -thread-count flag with <= 0 count
This commit is contained in:
@@ -56,7 +56,7 @@ generic_ftoa :: proc(buf: []byte, val: f64, fmt: byte, precision, bit_size: int)
|
||||
} else {
|
||||
s = "+Inf";
|
||||
}
|
||||
n := copy(buf, transmute([]byte)s);
|
||||
n := copy(buf, s);
|
||||
return buf[:n];
|
||||
|
||||
case 0: // denormalized
|
||||
|
||||
Reference in New Issue
Block a user