HELP: Floating point number in binary format TYPE: OBJECT SYNTAX: BIN(TYPE=SYSTEM,ENDIAN=SYSTEM/BIG/LITTLE/LOCAL,WIDTH=num/W32/W64)
Writes a binary floating point representation of a real number, taking an FL5-internal neutral real number representation (produced by the reading counterpart) as input.
This converter supports the most common binary floating point sizes: 32 and 64 bit. Hence, the output of this converter is either 4 or 8 bytes long. The binary representation depends on the system, e.g. IEEE 754 on x86, hexadecimal floating-point on IBM mainframe. Floating point numbers are always signed.
The desired binary floating point width can be specified in two ways:
With the ENDIAN parameter, the endianness (byte order) of the binary number can be specified. By default, the system's endianness is used.
NUMBER: TYPE=SYSTEM - Type of floating point format [SYSTEM]
SYSTEM - Floating-point representation of the system's architecture
NUMBER: ENDIAN=SYSTEM/BIG/LITTLE/LOCAL - Byte order of the floating point number [SYSTEM]
SYSTEM - Byte order of the default logical system
BIG - Big endian byte order
LITTLE - Little endian byte order
LOCAL - Byte order of the real physical system
NUMBER: WIDTH=num/W32/W64 - Width of floating point number in bits [64]
W32 - 32 bit integer
W64 - 64 bit integer