Hello!
This is an attempt to supplement the solution of the task 16.9 with better asymptotics. The alternative approach is based on bit manipulations and is quite generic to be extended for any basic numeric operations.
I hope that it may help somebody by showing new ideas.
The commit contains:
an implementation of an alternative solution
(kind of) unit tests
a detailed explanation in a readme file. You can view it here.
Hello! This is an attempt to supplement the solution of the task
16.9
with better asymptotics. The alternative approach is based on bit manipulations and is quite generic to be extended for any basic numeric operations. I hope that it may help somebody by showing new ideas.The commit contains: