Clicky

Fortran Wiki
epsilon (Rev #1, changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #0 to #1: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

epsilon(x) returns a nearly negligible number relative to 1.

Standard

Fortran 95 and later

Class

Inquiry function

Syntax

result = epsilon(x)

Arguments

  • x - The type shall be real.

Return value

The return value is of same type as the argument.

Example

program test_epsilon
 real :: x = 3.143
 real(8) :: y = 2.33
 print *, epsilon(x)
 print *, epsilon(y)
end program test_epsilon

category: Intrinsics

Revision from April 24, 2009 16:05:47 by Jason Blevins
Forward in time (2 more) | See current | History | Rollback | View: Source | Linked from: Intrinsic procedures, Intrinsic types

AltStyle によって変換されたページ (->オリジナル) /