Numbers can be integers or floating-point numbers. The following sections describe these types of numbers.
1 – Integers
You can use integers in any expression, including expressions in operands and in direct assignment statements. FORMAT snn s An optional sign: plus sign (+) for positive numbers (the default), or minus sign (-) for negative numbers. nn A string of numeric characters that is legal for the specified radix. MACRO-64 interprets all integers in the source program as decimal unless the number is preceded by a radix control operator. Integers must be in the range of -263 to +263 -1 for signed data or in the range of 0 to 264 -1 for unsigned data. Negative numbers must be preceded by a minus sign; MACRO-64 translates such numbers into two's complement form. In positive numbers, the plus sign is optional.
2 – Floating Point Number
You can use a floating-point number in the .DOUBLE, .FLOAT, .F_FLOATING, .D_FLOATING, .G_FLOATING, .S_FLOATING, and .T_FLOATING directives. You cannot use a floating-point number in an expression or with a unary or binary operator except the unary plus and unary minus. You can specify a floating-point number with or without an exponent. FORMAT Floating-point number without exponent: snn snn.nn snn. Floating-point number with exponent (E): snnEsnn snn.nnEsnn snn.Esnn s An optional sign. nn A string of decimal digits in the range of 0 to 9. The decimal point can appear anywhere to the right of the first digit. A floating-point number cannot start with a decimal point because MACRO-64 treats the number as a user-defined symbol.