Go to the source code of this file.
◆ mCenterImpl
| #define mCenterImpl |
( |
|
func, |
|
|
|
typ |
|
) |
| |
Value:template <class T> inline \
{ return ((typ)(start+stop))/2; }
◆ mDefFltisCompat
| #define mDefFltisCompat |
( |
|
typ, |
|
|
|
releps |
|
) |
| |
Value: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 ); \
if ( !nrstepsi ) \
: start < 0. ? -start * releps \
: start * releps );\
\
typ reldiff = (nrsteps - nrstepsi) / nrsteps; \
return ( (reldiff) < (releps) && (reldiff) > (-releps) ); \
}
◆ mDefFNrSteps
| #define mDefFNrSteps |
( |
|
typ | ) |
|
Value:template <> \
{ \
if ( !step ) return 0; \
typ ns = ( (start > stop ? start : stop) \
- (start > stop ? stop : start) ) \
/ (step > 0 ? step : -step); \
}
◆ SampleGate
◆ ZGate
◆ ZSampling
◆ assign() [1/2]
template<class T1 , class T2 >
◆ assign() [2/2]
template<class T1 , class T2 >
#define mIsEqual(x, y, eps)
Definition: commondefs.h:67