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
checksums
patches
tools
valgrind
.gitignore -rw-r--r-- 17 bytes
Makefile -rw-r--r-- 7.8 KB
NATIVE.cmake -rw-r--r-- 192 bytes
SuiteSparse_wrapper.c -rw-r--r-- 1.4 KB
Versions.make -rw-r--r-- 291 bytes
arpack.mk -rw-r--r-- 4.7 KB
blas.mk -rw-r--r-- 9.1 KB
dsfmt.mk -rw-r--r-- 1.9 KB
fftw.mk -rw-r--r-- 5.1 KB
gfortblas.alias -rw-r--r-- 706 bytes
gfortblas.c -rw-r--r-- 4.4 KB
gmp.mk -rw-r--r-- 2.1 KB
libdSFMT.def -rw-r--r-- 778 bytes
libgit2.mk -rw-r--r-- 3.6 KB
libgit2.version -rw-r--r-- 77 bytes
libssh2.mk -rw-r--r-- 2.4 KB
libssh2.version -rw-r--r-- 83 bytes
libuv.mk -rw-r--r-- 1.9 KB
libuv.version -rw-r--r-- 79 bytes
llvm-ver.make -rw-r--r-- 488 bytes
llvm.mk -rw-r--r-- 19.6 KB
mbedtls.mk -rw-r--r-- 3.0 KB
mpfr.mk -rw-r--r-- 2.1 KB
objconv.mk -rw-r--r-- 887 bytes
openblas.version -rw-r--r-- 79 bytes
openlibm.mk -rw-r--r-- 1.3 KB
openlibm.version -rw-r--r-- 78 bytes
openspecfun.mk -rw-r--r-- 1.5 KB
openspecfun.version -rw-r--r-- 84 bytes
patchelf.mk -rw-r--r-- 1.6 KB
pcre.mk -rw-r--r-- 1.8 KB
suitesparse.mk -rw-r--r-- 6.5 KB
unwind.mk -rw-r--r-- 3.6 KB
utf8proc.mk -rw-r--r-- 1.5 KB
utf8proc.version -rw-r--r-- 78 bytes
virtualenv.mk -rw-r--r-- 1.1 KB

back to top