fniConsts Module

This module, fniConsts contains constant values for faiNumber library, and constant values for modules that deal with 32-bit ints.


Variables

TypeVisibility AttributesNameInitial
integer, public, parameter:: k_int32 =selected_int_kind(9)

An integer value for int32's kind.

integer(kind=k_int32), public, parameter:: czero32 =48_k_int32

An int32 value of the character '0'.

integer(kind=k_int32), public, parameter:: cneg32 =45_k_int32

An int32 value of the character '-'.

integer(kind=k_int32), public, parameter:: cpos32 =43_k_int32

An int32 value of the character '+'.

integer(kind=k_int32), public, parameter:: cspace32 =32_k_int32

An int32 value of space.

character, public, parameter:: charspace =char(32)

A character value of space.

character, public, parameter:: charneg =char(45)

A character value of char '-'.

character, public, parameter:: charpos =char(43)

A character value of char '+'.

character, public, parameter:: charzero =char(48)

A character value of char '0'.

character, public, parameter, dimension(0:35):: fndigits =(/'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'/)

An array of character for representing digits in strings. The first index is 0 and the last index is 35. Digits of up to base 36 numbering system can be represented with this array.

character(len=4), public, parameter, dimension(0:15):: fnbinv =(/"0000", "0001", "0010", "0011", "0100", "0101", "0110", "0111", "1000", "1001", "1010", "1011", "1100", "1101", "1110", "1111"/)

An array of character for representing value of 0 - 15 in binary string. Each string is length 4. The first index is 0 and the last index is 15.

character(len=*), public, parameter:: fnVersion ="1n.0.0.f"

faiNumber's version in string format.

integer(kind=k_int32), public, parameter, dimension(4):: fnVersionNo =(/1, 0, 0, 0/)

An int32 array of 4 that represents the version number of faiNumber in integer values.

logical, public, parameter:: fnPure =.FALSE.

A logical value to determine if this version build is a all pure or mostly pure procedures build.