bell notificationshomepageloginNewPostedit profile

Topic : Re: Alternatives better to the binary "0b..." format? In our documentation, we write binary numbers like this: 1010 But we write hexadecimal numbers like this: 0xABAB Now, according to the GCC compiler - selfpublishingguru.com

10% popularity

Traditional mathematical notation would be to use a subscript suffix containing the base of the number in decimal, e.g.:

The value 101111012 is equivalent to BD16.

This may or may not be appropriate for your use, depending on how familiar your readers are likely to be with this notation, and what purpose they will be reading it for. As suggested elsewhere, if the readers are likely to be using the documentation for work in a specific language then following the conventions of that language may well be the best bet.


Load Full (0)

Login to follow topic

More posts by @Sherry594

0 Comments

Sorted by latest first Latest Oldest Best

Back to top