Waveform filter programs

◆ sameineps()

bool sameineps ( const double &  a,
const double &  b,
const double &  eps = 1.e-8 
)

Definition at line 66 of file soutifu.cc.

Referenced by main().

67 {
68  double reldif=std::abs(a-b);
69  return(reldif<=(std::abs(b*eps)));
70 }
Here is the caller graph for this function: