Which numeral systems are useful in computer science?
- by authchir
I am wondering which numeral system different programmers are using, or would use if their language has support for them. As an example, in C++ we can use:
Octal by prefixing with 0 (e.g. 0377)
Decimal by default (e.g. 255)
Hexadecimal by prefixing with 0x (e.g. 0xff)
When working with bitmask, I am using hexadecimal but would sometimes want to…