mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 01:44:37 +00:00
* avoid #8231, bitwise move to mul,div * add test for #8231 * fix bitwise move when div result is float * bitwise move depends on typ.size
3 lines
81 B
Nim
3 lines
81 B
Nim
import strutils
|
|
|
|
doAssert formatSize(2462056448, '.', bpIEC, false) == "2.293GiB" |