aboutsummaryrefslogtreecommitdiffstats
path: root/src/zstr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise zsqr, zmul, zstr, zdivmod, zpow, and zpowuMattias Andrée2016-03-161-2/+44
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Mostly optimisationsMattias Andrée2016-03-141-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Multiple changes:Mattias Andrée2016-03-131-13/+6
| | | | | | | | | | | | | | | | 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>
* 64-bit chars out-perform 32-bit chars on almost all operations, and on all expensive operationsMattias Andrée2016-03-121-11/+11
| | | | 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-11/+14
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add makefile and fix errorsMattias Andrée2016-03-041-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and fix bug in ztruncMattias Andrée2016-03-031-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and add missing header inclusionsMattias Andrée2016-03-021-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add zsets and zstrMattias Andrée2016-03-021-0/+61
Signed-off-by: Mattias Andrée <maandree@kth.se>