Added experimental files

This commit is contained in:
Christophe Riccio
2010-04-29 12:26:58 +01:00
parent 05439738b8
commit ee4a0878ad
208 changed files with 44725 additions and 0 deletions

5
experimental/sign.cpp Normal file
View File

@@ -0,0 +1,5 @@
template <>
inline bool sign(float const & f)
{
return (*((int *)(&f)) & 0x80000000) == 0;
}