numbers - string representation of numeric literals in radices other than 2, 10, 16? -


There is a conference in C where 0x ____ is a hexadecimal literal number, and I 0 B. ____ for binary verbal numbers (most especially in these).

Is there anything to represent the arbitrary Radis? (Up to base 36)

(for example, 36rA0CZ or A0CZr36 representing REDICS along with 36 R and ACC. The case is equal to decimal number 467027)

I have to choose something for the program that I am working on, and will use an existing conference.

Smalltalk uses the conference shown in your query ( radixrnumber ) . Uses Zsh Radix # number . VHDL uses the Radix # number # . Overall, the syntax you show is justified, and I do not believe that there is a single signaling standard or semi-standard.

Comments