epsilon(3f) - [FORTRAN:INTRINSIC] Epsilon function
Syntax
Description
Arguments
Return Value
Example
Standard
Class
result = epsilon(x)
epsilon(x) returns a nearly negligible number relative to 1.
X - The type shall be REAL.
The return value is of same type as the argument.
Sample program:
program demo_epsilon real :: x = 3.143 real(8) :: y = 2.33 print *, epsilon(x) print *, epsilon(y) end program demo_epsilon
[[Fortran 95]] and later
[[Inquiry function]]
epsilon (3) | March 18, 2019 |