MOD (dividend, divisor) Class: Elemental function - Generic Divides the first argument by the second and returns the remainder. +------+----------+----------+------------+-------------+ | Args | Generic | Specific | Argument | Result Type | +------+----------+----------+------------+-------------+ | 2 | MOD | -- | INTEGER*1 | INTEGER*1 | | | | IMOD | INTEGER*2 | INTEGER*2 | | |see note1 | MOD | INTEGER*4 | INTEGER*4 | | | | KMOD | INTEGER*8 | INTEGER*8 | | |see note2 | AMOD | REAL*4 | REAL*4 | | | | DMOD | REAL*8 | REAL*8 | | | | QMOD | REAL*16 | REAL*16 | +------+----------+----------+------------+-------------+ Note1: Or JMOD. Note2: The setting of compiler options specifying real size can affect AMOD.