Fast Relative Comparisons of Floating Point Numbers in 'C++'


[Up] [Top]

Documentation for package ‘cppdoubles’ version 0.2.0

Help Pages

%~<% Relative comparison of double-precision floating point numbers
%~<=% Relative comparison of double-precision floating point numbers
%~==% Relative comparison of double-precision floating point numbers
%~>% Relative comparison of double-precision floating point numbers
%~>=% Relative comparison of double-precision floating point numbers
abs_diff Absolute and relative difference
all_equal Are all values of x nearly equal (within a tolerance) to all values of y?
double_equal Relative comparison of double-precision floating point numbers
double_gt Relative comparison of double-precision floating point numbers
double_gte Relative comparison of double-precision floating point numbers
double_lt Relative comparison of double-precision floating point numbers
double_lte Relative comparison of double-precision floating point numbers
rel_diff Absolute and relative difference