matthiasgoergens commented on PR #95: URL: https://github.com/apache/incubator-milagro-crypto-c/pull/95#issuecomment-1449501345
@mcarrickscott If you want controlled overflow, ie wrap-around, you need the compiler option `-fno-strict-overflow`. Otherwise you get [undefined behaviour](https://en.wikipedia.org/wiki/Undefined_behavior). > In the [C community](https://en.wikipedia.org/wiki/C_(programming_language)), undefined behavior may be humorously referred to as "nasal demons", after a [comp.std.c](https://en.wikipedia.org/wiki/Comp.*_hierarchy) post that explained undefined behavior as allowing the compiler to do anything it chooses, even "to make demons fly out of your nose". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
