nim-stint/tests
Mamy Ratsimbazafy 6eeba3d41a
Division: Fix recursive divide-and-conquer (#20)
* Simplify div2n1n

* Revert borrow detection, needed a cleverer scheme.

* Getting inspired by uint128 didn't work for recursive. Use recursive algo from the get go

* Fix shl bug ... (need fuzzy testing)

* divmod fixed for single nesting (?)

* Almost there

* Fix one part of div3n2n

* Division is wooorrrrkkinnnggg 🔥

* Fix compilation for the nested version

* forgot to not multiply by 8 the size

* Add another failing shift test

* Fix countLeadingZero for nested uint

* Cleanup: remove debugecho

* Move debug utils in a specific folder

* Fix forward declaration

* Move division it's own file
2018-04-20 11:13:47 +02:00
..
all_tests.nim Recursive init + bitwise as test + fix shr (#9) 2018-03-28 20:45:39 +02:00
test_addsub.nim Make bits part of type (#6) 2018-03-26 11:46:24 +02:00
test_bitwise.nim Division: Fix recursive divide-and-conquer (#20) 2018-04-20 11:13:47 +02:00
test_comparison.nim Make bits part of type (#6) 2018-03-26 11:46:24 +02:00
test_endianness.nim Make bits part of type (#6) 2018-03-26 11:46:24 +02:00
test_muldiv.nim Faster division algorithm (#8) 2018-03-28 17:15:36 +02:00