Hacker News new | ask | show | jobs
by artsi0m 866 days ago
I remember findind this site when solving exercise of creating sign function for Z with arithmetic operators only. I used this[1] page to cheat and reimplement mod in C (by default % is rem) with defined zero. Unfortunately it doesn't helped me yet, but I still like this site.

[1]: https://proofwiki.org/wiki/Definition:Modulo_Operation/Modul...