Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you choose b=x/60 for the first iteration? That isn't obvious to me, but 60 must be an obvious choice to be chosen.


Base 60 was the number system for the Sumarians/Babylonians.

> Sexagesimal, also known as base 60 or sexagenary, is a numeral system with sixty as its base. It originated with the ancient Sumerians in the 3rd millennium BC, was passed down to the ancient Babylonians, and is still used—in a modified form—for measuring time, angles, and geographic coordinates.


You can choose any integer > 1

For example if you choose 2 you will get the binary expansion.


And if you choose b=x/10, x/100, x/1000 ... then each iteration will add the exact decimal point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: