what math do i need to convert this number
Posted
by Uberfuzzy
on Stack Overflow
See other posts from Stack Overflow
or by Uberfuzzy
Published on 2010-05-03T20:11:53Z
Indexed on
2010/05/03
20:18 UTC
Read the original article
Hit count: 130
math
given an X, what math is needed to find its Y, using this table?
x->y
0->1
1->0
2->6
3->5
4->4
5->3
6->2
language agnostic problem
and no, i dont/cant just store the array, and do the lookup.
yes, the input will always be the finite set of 0 to 6. it wont be scaling later.
© Stack Overflow or respective owner