NCEPLIBS-g2  3.5.0
intmath.F90 File Reference

Define math functions used by compack(), simpack(), and misspack(). More...

Go to the source code of this file.

Data Types

interface  intmath::i1log2
 
interface  intmath::ilog2
 

Modules

module  intmath
 Define math functions used by compack(), simpack(), and misspack().
 

Functions/Subroutines

integer(kind=1) function intmath::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 intmath::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 intmath::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 intmath::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...
 
integer(kind=1) function intmath::ilog2_1 (i_in)
 This function returns log(x)/log(2) for 1 bit integer numbers. More...
 
integer(kind=2) function intmath::ilog2_2 (i_in)
 This function returns log(x)/log(2) for 2 bit integer numbers. More...
 
integer(kind=4) function intmath::ilog2_4 (i_in)
 This function returns log(x)/log(2) for 4 bit integer numbers. More...
 
integer(kind=8) function intmath::ilog2_8 (i_in)
 This function returns log(x)/log(2) for 8 bit integer numbers. More...
 

Detailed Description

Define math functions used by compack(), simpack(), and misspack().

Author
Stephen Gilbert
Date
2000-06-21

Definition in file intmath.F90.