aboutsummaryrefslogtreecommitdiffstats
path: root/src/ztrunc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Optimise ztruncMattias Andrée2016-05-051-7/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Mostly optimisationsMattias Andrée2016-03-141-3/+1
| | | | 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-9/+8
| | | | 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-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean up, fix a few bugs, and add a testMattias Andrée2016-03-041-3/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add makefile and fix errorsMattias Andrée2016-03-041-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and fix bug in ztruncMattias Andrée2016-03-031-21/+23
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* ztrunc: fix bug: bits > .used may lead to incorrect truncationMattias Andrée2016-03-021-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add zand, zor, zxor, znot, zbtest, zsplit, and the newly introduced ztruncMattias Andrée2016-03-021-0/+31
Signed-off-by: Mattias Andrée <maandree@kth.se>