From Atom to Binary Sequence
- Posted by euphoric (admin) Sep 01, 2010
- 1079 views
I want to convert a number into a sequence of bit representations. For example,
01 would convert to {0,0,0,1} 05 would convert to {1,0,1} 10 would convert to {1,0,1,0}
etc...
Doesn't the standard lib have a function for this already?