David Tolnay
|
3091ce69da
|
Evaluate constant u128 factor
|
2021-12-11 00:54:10 -08:00 |
David Tolnay
|
dd3f590c41
|
Format with rustfmt 2021-09-29
|
2021-09-30 01:28:16 -04:00 |
David Tolnay
|
2886a30f1c
|
Merge pull request 27 from Kogia-sima/perf/optimize-udivmod
|
2021-08-21 22:22:17 -07:00 |
Kogia-sima
|
3a4047df0d
|
fix: Fix compilation error on 1.0.0
|
2021-01-29 00:36:39 +09:00 |
Kogia-sima
|
51f3f12113
|
perf: Optimize udivmod_1e19 function
|
2021-01-28 23:47:57 +09:00 |
David Tolnay
|
17d828c5a6
|
Clarify udiv128 licensing
|
2019-05-01 18:23:30 -07:00 |
Object905
|
e86a5a54cc
|
use different buffer size for every type
|
2018-03-21 07:44:57 +05:00 |
David Tolnay
|
3e47651d90
|
Write u128 using only two divisions
|
2017-09-16 13:58:02 -07:00 |
David Tolnay
|
23d280dc7a
|
Simplify udivmodti4 for our special case
This isn't faster, just easier to understand.
|
2017-09-16 11:49:36 -07:00 |
Henning Ottesen
|
1d85a0c5f9
|
Copy udivmodti4 from compiler-builtins
Division with remainder on u128 is badly optimized by LLVM. Copying it
into our crate allows for inlining and proper optimization.
|
2017-09-14 23:52:42 +02:00 |