News for hackers. Stuff that matters.
Re:The math behind a neat calculator trick by hackermom on Tuesday April 27, 2010 @10:22AM (#1298275)
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.

Re:The math behind a neat calculator trick by imurray on Tuesday April 27, 2010 @10:57AM (#1298393)
It 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.