Syntax of numerical constantsA number can be written in binary, octal, decimal, or hexadecimal by the use of a radix prefix. The radix prefixes are #b (binary), #o (octal), #d (decimal), and #x (hexadecimal). With no radix prefix, a number is assumed to be expressed in decimal. Complex numbers may be specified using the syntax a+bi, where a is the real part and b is the imaginary part. |