Fortran Wiki
erfc
Description
erfc(x)
computes the complementary error function of x
, defined as
Standard
Fortran 2008 and later
Class
Elemental function
Syntax
result = erfc(x)
Arguments
x
- The type shall be real
.
Return value
The return value is of type real
and of the same kind as x
. It lies in the range .
Example
program test_erfc
real(8) :: x = 0.17_8
x = erfc(x)
end program test_erfc
Revised on March 1, 2023 13:09:38
by
Jason Blevins
(23.245.217.121)
(646 characters / 0.0 pages)