6 lines
94 B
C++
6 lines
94 B
C++
template <>
|
|
inline bool sign(float const & f)
|
|
{
|
|
return (*((int *)(&f)) & 0x80000000) == 0;
|
|
}
|