Nope it's ^ it uses formulas LOG or EXP with lots of digits to do ^ calcs, multiplying with * is more precise.
While (n Mod 2) = 0 ' why have this?while n is even
bplus, can you think of an easy and efficient way to detect or prevent overflow?
there might be some ideas from this post https://stackoverflow.com/questions/3944505/detecting-signed-overflow-in-c-c
Precalculate values with _FLOATs. If the result is greater than what an INT64 can hold, flag an error and reject them.
hello everyone, why didn't you think of the obvious simple solution?
a positive integer that overflows will be negative