template <> \
float eps ) const \
{ \
const typ castedeps = (typ) eps; \
if ( !
mIsEqual(step,b.step, castedeps) ) return false; \
\
typ nrsteps = (start - b.start) / step; \
const
int nrstepsi =
mNINT32( nrsteps ); \
: start < 0. ? -start * releps \
: start * releps );\
\
typ reldiff = (nrsteps - nrstepsi) / nrsteps; \
return ( (reldiff) < (releps) && (reldiff) > (-releps) ); \
}
#define mIsZero(x, eps)
Definition: commondefs.h:53
if(!noudf_ &&(mIsUdf(inpval)))
Definition: arrayndalgo.h:1662
#define mIsEqual(x, y, eps)
Definition: commondefs.h:54
#define mNINT32(x)
Definition: commondefs.h:45
Interval with step.
Definition: commontypes.h:33
bool isCompatible(const StepInterval< T > &, float eps=(1e-10)) const
Definition: ranges.h:794