greycode to binary algorithm
http://mathworld.wolfram.com/GrayCode.html
the above link is a good source and gives a formula for converting graycode into binary.
can you help me turn the fromula into an algorithm?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
the above link is a good source and gives a formula for converting graycode into binary.
can you help me turn the fromula into an algorithm?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
Comments
Go to Wikipedia. Here's the link to the main article:
en.wikipedia.org/wiki/Gray_code
and here's the link to the code examples:
en.wikipedia.org/wiki/Gray_code#Programming_algorithms
Thanks, PeterM
now to put it into sxb.
i'll post in that forum.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
engineer, fireman, bowler, father, WoW addict [noparse];)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com