aboutsummaryrefslogtreecommitdiffstats
path: root/src/zgcd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise zsetup, zgcd, zmul, and zsqr and add -fltoMattias Andrée2016-03-151-34/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Multiple changes:Mattias Andrée2016-03-131-4/+4
| | | | | | | | | | | | | | | | 1) Compile test with -O0, it takes too long otherwise. 2) Add error codes: ZERROR_0_POW_0, ZERROR_0_DIV_0, ZERROR_DIV_0, ZERROR_NEGATIVE. 3) Add workaround for a bug in clang (src/allocator.c). 4) Cleanups. 5) Minor optimisations. 6) Add inclusion guard for zahl.h. Signed-off-by: Mattias Andrée <maandree@kth.se>
* OptimisationsMattias Andrée2016-03-131-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add makefile and fix errorsMattias Andrée2016-03-041-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and fix bug in ztruncMattias Andrée2016-03-031-7/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* zgcd: optimisation of the first loopMattias Andrée2016-03-021-4/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add zgcdMattias Andrée2016-03-021-0/+60
Signed-off-by: Mattias Andrée <maandree@kth.se>