fniInt128Util Module

This module, fniInt128Util contains procedures for converting int128 values to various type of numerical strings.



Functions

public function int128ToBinaryAsU(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to an unsigned binary string as if the bits are unsigned bits.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=128)

public function int128ToBinary(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to a signed binary string.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=129)

public function int128ToOctalAsU(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to an unsigned octal string as if the bits are unsigned bits.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=43)

public function int128ToOctal(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to a signed octal string.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=44)

public function int128ToHexAsU(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to an unsigned hexadecimal string as if the bits are unsigned bits.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=32)

public function int128ToHex(input) result(strOut)
Author
Khang Hoang Nguyen
Since
1n.0.0.f

Convert the input of type int128 to a signed hexadecimal string.

Read more…

Arguments

Type IntentOptional AttributesName
integer(kind=k_int128), intent(in) :: input

An int128 value.

Return Value character(len=33)