https://github.com/JuliaLang/julia
Revision 8bedfacbbc190b0baa01254946d185330eeb23ac authored by Erik Schnetter on 25 July 2016, 17:57:07 UTC, committed by Erik Schnetter on 26 July 2016, 19:44:04 UTC
- add type signature to restrict arguments to Integer
- use type promotion
- correct existing test case for negative modulos
- clarify documentation
- add test cases
- also update description of `gcdx`, add a few comments to the source code.

Closes #17595.
1 parent 8f99882
History
Tip revision: 8bedfacbbc190b0baa01254946d185330eeb23ac authored by Erik Schnetter on 25 July 2016, 17:57:07 UTC
Correct `invmod` for unsigned integers and for negative moduli
Tip revision: 8bedfac
File Mode Size
.gitignore -rw-r--r-- 33 bytes
Makefile -rw-r--r-- 2.6 KB
repl.c -rw-r--r-- 7.2 KB

back to top