On Saturday, 25 December 2021 at 13:39:14 UTC, Temtaime wrote: > To get correct results use > > fnum = u64(-num) + 1; > > there's no bug. > Weird. It truly works but why isn't this necessary for other types as well? > Also get rid of your *_MAX, *_MIN. > Use u8.max, i8.min built-in properties etc. > Oh, didn't knew about that! Thanks!