8 ms·
pi / 180 = 0.01745 (a value commonly used for degree<->radian conversion). 1 / 180 = 0.0055555. That's the connection between the "magic" constants used in this
by hackermom 16y ago
pi / 180 = 0.01745 (a value commonly used for degree<->radian conversion). 1 / 180 = 0.0055555. That's the connection between the "magic" constants used in this trick.
It brings an older, simpler, not nearly as interesting calculator "trick" to mind: 11111111 * 11111111.
- imurray 16y agoIt brings an older, simpler, not nearly as interesting calculator "trick" to mind: 11111111 * 11111111. gnuplot> pr 11111111 * 11111111 -2047269199 :-). For the intended result, people can put a '.' after one of the numbers to make it a double, or use a better calculator like bc or Python.