Bit Pattern Functions
BVAL(a$,2) | The non-negative integer whose binary representation is a$. |
BVAL(a$,16) | The non-negative integer whose hexadecimal representation is a$. |
BSTR$(n,2) | Binary representation of a non-negative number n. |
BSTR$(n,16) | hexadecimal representation of a non-negative number n. |
(Note) BVAL and BSTR$ do not have satisfactory precision on the 1000-digit decimal mode and on the rational mode.