The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like this: More...
Public Member Functions | |
elemental logical function | is_near_zero_srp (test_number, epsilon) |
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like the below. More... | |
elemental logical function | is_near_zero_hrp (test_number, epsilon) |
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like the below. More... | |
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like this:
See the backend procedures commondata::is_near_zero_srp() and commondata::is_near_zero_hrp() for details.
Definition at line 5385 of file m_common.f90.
elemental logical function commondata::is_near_zero::is_near_zero_srp | ( | real(srp), intent(in) | test_number, |
real(srp), intent(in), optional | epsilon | ||
) |
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like the below.
Near0_dp()
function from Clerman & Spector 2012, p. 250-251. [in] | test_number | test_number the number to check for being near-zero. |
[in] | epsilon | epsilon optional (very small) tolerance value. |
test_number
is near-zero. Definition at line 6202 of file m_common.f90.
elemental logical function commondata::is_near_zero::is_near_zero_hrp | ( | real(hrp), intent(in) | test_number, |
real(hrp), intent(in), optional | epsilon | ||
) |
Checks if a real number is near 0.0. Thus function can be used for comparing two real values like the below.
Near0_dp()
function from Clerman & Spector 2012, p. 250-251. [in] | test_number | test_number the number to check for being near-zero. |
[in] | epsilon | epsilon optional (very small) tolerance value. |
test_number
is near-zero. Definition at line 6232 of file m_common.f90.