Open timotheecour opened 3 years ago
Some day the int128 should be moved into public API, with its features and limitations documented, I do not see a reason to not do it, theres already more "unsafe" stuff in public APIs anyway...
it's not about "unsafe", it's about the added complexity, here are the challenges i see:
#ifdef __SIZEOF_INT128__
, refs https://stackoverflow.com/a/54815033/1426932I'm still very much in favor of adding int128
, but it will require some work
(placeholder, will add more details)
notes
links
libs
https://github.com/status-im/nim-stint/blob/master/stint.nim has multiprecision library, including a
Int128
, so this is a candidate thing to compare against