Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
So, forgive my ignorance, this isn't a troll just a question.
How are continued fractions related to modular arithmetic?
Take the following example:
70%32 = 6
70//32 = 2
which we can just represent as
6+(32*2)
Now, as a continued fraction, we would do
70/32 = 2 + 6/32
and repeating what we just did but for 6/32, as you would with a continued fraction.
Am I actually doing everything correctly here or am I missing something?
random
ipromise
notatroll
math