6 template<typename T
> inline int sign( T a
)
8 return (a
== 0) ? 0 : ( (a
<0) ? -1 : 1 );
11 double dst( float x1
, float y1
, float x2
, float y2
);
13 bool isBitSet( unsigned int mask
, unsigned int bit
);
15 template<unsigned int N
>
18 static const unsigned int v
= 1 << N
;