FV3 Bundle
Compare_Float_Numbers.f90 File Reference

Go to the source code of this file.

Data Types

interface  compare_float_numbers::compare_float
 
interface  compare_float_numbers::operator(.equalto.)
 
interface  compare_float_numbers::operator(.greaterthan.)
 
interface  compare_float_numbers::operator(.lessthan.)
 
interface  compare_float_numbers::tolerance
 
interface  compare_float_numbers::compares_within_tolerance
 

Modules

module  compare_float_numbers
 

Functions/Subroutines

elemental logical function compare_float_numbers::equalto_real_single (x, y)
 
elemental logical function compare_float_numbers::equalto_real_double (x, y)
 
elemental logical function compare_float_numbers::equalto_complex_single (x, y)
 
elemental logical function compare_float_numbers::equalto_complex_double (x, y)
 
elemental logical function compare_float_numbers::is_greater_than_single (x, y)
 
elemental logical function compare_float_numbers::is_greater_than_double (x, y)
 
elemental logical function compare_float_numbers::is_less_than_single (x, y)
 
elemental logical function compare_float_numbers::is_less_than_double (x, y)
 
elemental logical function compare_float_numbers::compare_real_single (x, y, ULP, Percent)
 
elemental logical function compare_float_numbers::compare_real_double (x, y, ULP, Percent)
 
elemental logical function compare_float_numbers::compare_complex_single (x, y, ULP, Percent)
 
elemental logical function compare_float_numbers::compare_complex_double (x, y, ULP, Percent)
 
elemental real(single) function compare_float_numbers::tolerance_real_single (x, n)
 
elemental real(double) function compare_float_numbers::tolerance_real_double (x, n)
 
elemental complex(single) function compare_float_numbers::tolerance_complex_single (x, n)
 
elemental complex(double) function compare_float_numbers::tolerance_complex_double (x, n)
 
elemental logical function compare_float_numbers::cwt_real_single (x, y, n, cutoff)
 
elemental logical function compare_float_numbers::cwt_real_double (x, y, n, cutoff)
 
elemental logical function compare_float_numbers::cwt_complex_single (x, y, n, cutoff)
 
elemental logical function compare_float_numbers::cwt_complex_double (x, y, n, cutoff)
 

Variables

character(*), parameter compare_float_numbers::module_version_id = '$Id: Compare_Float_Numbers.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $'
 
real(single), parameter compare_float_numbers::sp_zero = 0.0_Single
 
real(double), parameter compare_float_numbers::dp_zero = 0.0_Double
 
real(single), parameter compare_float_numbers::sp_one = 1.0_Single
 
real(double), parameter compare_float_numbers::dp_one = 1.0_Double
 
real(single), parameter compare_float_numbers::sp_ten = 10.0_Single
 
real(double), parameter compare_float_numbers::dp_ten = 10.0_Double
 
real(single), parameter compare_float_numbers::sp_hundred = 100.0_Single
 
real(double), parameter compare_float_numbers::dp_hundred = 100.0_Double
 
real(single), parameter compare_float_numbers::sp_compare_cutoff = 1.0e-15_Single
 
real(double), parameter compare_float_numbers::dp_compare_cutoff = 1.0e-15_Double
 
integer, parameter, public compare_float_numbers::default_n_sigfig = 6