Development goes on. ⚡️👟QB64 v2.0.2 released! 🤩🤩🤩🤩Get it now!
0 Members and 1 Guest are viewing this topic.
While (n Mod 2) = 0 ' why have this?
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