3 ms·
Generally speaking in floating points you have 'finite' accuracy. The best way to think of floating points (for mortals), is to picture a 16 significant digit n
by valarauca1 13y ago
Generally speaking in floating points you have 'finite' accuracy. The best way to think of floating points (for mortals), is to picture a 16 significant digit number. You can only have 16 non-zero digits. Then a power that ranges from 1020 to -1020.
Which means that when you have a value over ~1.6x10^16 you no longer have values below the decimal point, and each 'step' you take will be larger then an entire 2pi step of the trig cycle.
Its nice to think of floating points have infinite accuracy, and often times nobody really thinks about what goes on inside of floating point numbers, but in reality its a mess, a pure mess.