Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fast integer inverse root mapping

Name: Anonymous 2017-07-24 4:17

This came up in a /sci thread
(1-10 ->)
1,4,9,(1)6,(2)5,(3)6,(4)9,(6)4,(8)1,(10)0

How difficult is reverse mapping a square this way? (it runs least significant digit first lol)

Name: Anonymous 2017-07-24 11:51

>>2
It should map \(x\) to \(x^2\), ie perform an integer square root, but it only keeps the 1-10 lookup table, and has a two:one branch per digit

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List