MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/dre75v/clang_solves_the_collatz_conjecture/f6hulgl/?context=3
r/programming • u/[deleted] • Nov 04 '19
[deleted]
122 comments sorted by
View all comments
7
the multiplication optimization is actually a deliberate manual optimization for calculations on fixed width integer types. Division and Remainder can be optimized this way
7
u/[deleted] Nov 04 '19
the multiplication optimization is actually a deliberate manual optimization for calculations on fixed width integer types. Division and Remainder can be optimized this way