As in the emacs lisp reference (info page),
#b is for binary numbers
#o is for octal numbers
After you define something, you can just print it with format. With %o for octal, %d as decimal, and %x for hexadecimal.
You can print numbers to binary using calc mode (M-x calc)
typing the number RET d2
No comments:
Post a Comment