Mamy Ratsimbazafy
24bd2fc986
Recursive init + bitwise as test + fix shr ( #9 )
...
* Recursive init compiles
* fix bitshift. Missing rolling over
* Strange shift required
* debug msg leftover
2018-03-28 20:45:39 +02:00
Mamy Ratsimbazafy
c8190df152
Faster division algorithm ( #8 )
...
* cosmetic changes
* fix zero conversion
* Div using divided and conquer algorithm. (Compiles but doesn't work)
* Passes test with production flag
2018-03-28 17:15:36 +02:00
mratsim
2b47647019
Force checking sizes at compile-time
2018-03-26 17:39:34 +02:00
mratsim
f1935fd673
Improve speed by 90% by inline shr/shl
2018-03-26 14:46:38 +02:00
Mamy Ratsimbazafy
3a1e5b1151
Make bits part of type ( #6 )
...
* Small reorg of conversion proc
* Rework with bits as type. Pass endianess test
* tests_comparison compiles and succeed
* Fix init with int for mpint_test compilation flag
* All tests green 🔥
2018-03-26 11:46:24 +02:00