aboutsummaryrefslogtreecommitdiffstats
path: root/src/zdivmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowuMattias Andrée2016-03-161-42/+51
| | | | 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-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix bugs and add a randomised testingMattias Andrée2016-03-051-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean up, add zerror and zperror, fix bugs and add more testsMattias Andrée2016-03-041-8/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add makefile and fix errorsMattias Andrée2016-03-041-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and fix bug in ztruncMattias Andrée2016-03-031-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Optimised zdivmodMattias Andrée2016-03-031-10/+31
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Optimise zdivmodMattias Andrée2016-03-031-10/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add zdivmodMattias Andrée2016-03-031-0/+75
Signed-off-by: Mattias Andrée <maandree@kth.se>