ROTEX
Source Files
Modules
Procedures
Derived Types
Program
isinteger
Interface
MIT
4 statements
Source File
rotex__functions.f
rotex__functions
isinteger
Contents
Module Procedures
isintegerr
isintegerz
public interface isinteger
Check if a real/complex number is an integer
Module Procedures
private pure elemental module function isintegerr(x) result(res)
Check if x is an integer
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in)
::
x
Return Value
logical
private pure elemental module function isintegerz(z) result(res)
Check if z is an integer
Arguments
Type
Intent
Optional
Attributes
Name
complex(kind=dp),
intent(in)
::
z
Return Value
logical