NCEPLIBS-g2
3.5.0
|
Public Member Functions | |
integer(kind=1) function | i1log2_1 (ival) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 1 bit integer numbers. More... | |
integer(kind=2) function | i1log2_2 (ival) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 2 bit integer numbers. More... | |
integer(kind=4) function | i1log2_4 (ival) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 4 bit integer numbers. More... | |
integer(kind=8) function | i1log2_8 (ival) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 8 bit integer numbers. More... | |
Definition at line 33 of file intmath.F90.
integer(kind=1) function intmath::i1log2::i1log2_1 | ( | integer(kind=1), value | ival | ) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 1 bit integer numbers.
[in] | ival | 1 bit integer numbers. |
Definition at line 99 of file intmath.F90.
References intmath::i1log2_1(), and intmath::ilog2_1().
integer(kind=2) function intmath::i1log2::i1log2_2 | ( | integer(kind=2), value | ival | ) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 2 bit integer numbers.
[in] | ival | 2 bit integer numbers. |
Definition at line 82 of file intmath.F90.
References intmath::i1log2_2(), and intmath::ilog2_2().
integer(kind=4) function intmath::i1log2::i1log2_4 | ( | integer(kind=4), value | ival | ) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 4 bit integer numbers.
[in] | ival | 4 bit integer numbers. |
Definition at line 65 of file intmath.F90.
References intmath::i1log2_4(), and intmath::ilog2_4().
integer(kind=8) function intmath::i1log2::i1log2_8 | ( | integer(kind=8), value | ival | ) |
This function returns log(x+1)/log(2) unless x=maxint, in which case log(x)/log(2) for 8 bit integer numbers.
[in] | ival | 8 bit integer numbers. |
Definition at line 48 of file intmath.F90.
References intmath::i1log2_8(), and intmath::ilog2_8().