This module, fniInt64Util
contains procedures for converting int64 values to various type of numerical strings.
Note
Procedures of this module may not be pure procedures.
Uses
Functions
public function int64ToBinaryAsU(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to an unsigned binary string as if the bits are unsigned bits.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |
Return Value character(len=64)
public function int64ToBinary(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to a signed binary string.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |
Return Value character(len=65)
public function int64ToOctalAsU(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to an unsigned octal string as if the bits are unsigned bits.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |
Return Value character(len=22)
public function int64ToOctal(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to a signed octal string.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |
Return Value character(len=23)
public function int64ToHexAsU(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to an unsigned hexadecimal string as if the bits are unsigned bits.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |
Return Value character(len=16)
public function int64ToHex(input) result(strOut)
- Author
- Khang Hoang Nguyen
- Since
- 1n.0.0.f
Convert the input
of type int64 to a signed hexadecimal string.
Arguments
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=k_int64), | intent(in) | :: | input | An int64 value. |