From Atom to Binary Sequence

new topic     » topic index » view thread      » older message » newer message

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?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu