iceil
- Date:
10-20-2011
NAME
ICEIL - Returns integer ceiling of a rational number
SYNOPSIS
i=ICEIL(j, k)
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
ICEIL is an integer function that returns the integer ceiling of a rational number formed by two integer parameters.
All arguments must be of default kind unless documented otherwise. The default kind is KIND=4 for integer arguments.
The following is a list of valid arguments for this routine.
- j
The numerator of a rational number.
- k
The denominator of a rational number.
The value of function i is the smallest integer larger than or equal to j/k.
If the Fortran program that calls ICEIL is compiled with the -s default64 option, specify the arguments as INTEGER(4) arguments or include the -A FTN_LIB_DEFINITIONS as a compilation option. The FTN_LIB_DEFINITIONS module provides a generic interface for the ICEIL function. The compiler will choose the entry point for ICEIL by checking the types of the arguments.