Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
math::relcmp Interface Reference

Public Member Functions

pure logical function srelcmp (x, y, eps)
 Return single precision relative comparison \( | x - y |<= \epsilon*|y| \).
pure logical function drelcmp (x, y, eps)
 Return double precision relative comparison \( | x - y |/|y| < \epsilon \).

Detailed Description

Definition at line 103 of file math.F90.

Member Function/Subroutine Documentation

◆ drelcmp()

pure logical function math::relcmp::drelcmp ( real(kind=dp), intent(in) x,
real(kind=dp), intent(in) y,
real(kind=dp), intent(in), optional eps )

Definition at line 192 of file math.F90.

Here is the call graph for this function:

◆ srelcmp()

pure logical function math::relcmp::srelcmp ( real(kind=sp), intent(in) x,
real(kind=sp), intent(in) y,
real(kind=sp), intent(in), optional eps )

Definition at line 177 of file math.F90.

Here is the call graph for this function:

The documentation for this interface was generated from the following file:
  • /home/runner/work/neko/neko/src/math/math.F90