-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strutils:formatSize() is broken in JS mode #8231
Labels
Comments
This was referenced Jul 7, 2018
I've investigated a bit, and it seems to be like that because bitwise operators in JS are 32-bit, so |
bung87
added a commit
to bung87/Nim
that referenced
this issue
Jul 25, 2020
bung87
added a commit
to bung87/Nim
that referenced
this issue
Aug 24, 2020
Araq
pushed a commit
that referenced
this issue
Aug 25, 2020
Fixed by #15070 |
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* avoid nim-lang#8231, bitwise move to mul,div * add test for nim-lang#8231 * fix bitwise move when div result is float * bitwise move depends on typ.size
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Echos 2.293GiB for C/C++ mode but 37568YiB for JS mode. Fails test case in strutils.nim but isn't getting caught since testament doesn't actually run the test, just compiles due to separate bug.
The text was updated successfully, but these errors were encountered: