You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nim Compiler Version 1.6.19 [Linux: amd64]
Compiled at 2024-03-13
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: afced7d9ab62be2d1394e884fe20ce1dd5f24918
active boot switches: -d:release
Nim 2.0 and devel both create compilation messages when doing the decimal base conversion relating to
.cache/nim/r_d/@mnim-stint@sstint@sprivate@suint_div.nim.c:368:25: error: invalid type argument of unary ‘*’ (have ‘int’)
368 | nimln_(184); *(*bOut_p0) = (NU64)(dblPrec >> 64ULL) & 1;
| ^~~~~~~~~~~
.cache/nim/r_d/@mnim-stint@sstint@sprivate@suint_div.nim.c:369:25: error: invalid type argument of unary ‘*’ (have ‘NU64’ {aka ‘long unsigned int’})
369 | nimln_(185); *(*diff_p1) = (NU64)dblPrec;
| ^~~~~~~~~~~
.cache/nim/r_d/@mnim-stint@sstint@sprivate@suint_div.nim.c: In function ‘addC__nim45stintZstintZprivateZprimitivesZaddcarry95subborrow_u62’:
.cache/nim/r_d/@mnim-stint@sstint@sprivate@suint_div.nim.c:376:25: error: invalid type argument of unary ‘*’ (have ‘int’)
376 | nimln_(161); *(*cOut_p0) = (NU64)(dblPrec >> 64ULL);
| ^~~~~~~~~~~
with commits
Nim Compiler Version 2.0.3 [Linux: amd64]
Compiled at 2024-03-13
Copyright (c) 2006-2023 by Andreas Rumpf
git hash: e374759f29da733f3c404718c333f5f3cb5f332d
active boot switches: -d:release
and
Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2024-03-13
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 78c834dd76f273d8813247647531005a1f7db1a6
active boot switches: -d:release
For example,
aarch64
. This avoids intrinsics but usesuint128
:nim-stint/stint/private/primitives/addcarry_subborrow.nim
Lines 87 to 89 in 7bb0ccc
Nim 1.6 builds this fine:
Nim 2.0 and devel both create compilation messages when doing the decimal base conversion relating to
nim-stint/stint/private/primitives/addcarry_subborrow.nim
Lines 182 to 183 in 7bb0ccc
with commits
and
Nim 2.0 generates this, in particular
where Nim 1.6 generates:
The text was updated successfully, but these errors were encountered: