Description:
Encode an INTEGER
value into a binary string. The result is right-justified in the returned string. In the event of an error,
’’s
are written to the string.
Invocation
CALL CHR_ITOB( IVALUE, STRING, STATUS )
Arguments
IVALUE = INTEGER (Given)
Value to be encoded.
STRING = CHARACTER
(
)
(Returned)
Binary string encoded from the given value.
Notes:
This subroutine assumes a 32-bit,
twos-complement representation of an INTEGER.
Copyright © 2018 East Asian Observatory