aboutsummaryrefslogtreecommitdiff
path: root/include/dspi/DSPI.h
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2006-08-25 22:38:42 +0000
committerTom Schouten <doelie@users.sourceforge.net>2006-08-25 22:38:42 +0000
commit0c6ac2f761a2a8ddcde91a1afc80eeadfe2f0bc1 (patch)
treeab908d4b070c838049bc9593e5f8966d49a7775c /include/dspi/DSPI.h
parenta467b9c79ef47ad810f71dc0c59d685ac8cab132 (diff)
creb: removed garbage system/ and include/ files
svn path=/trunk/externals/creb/; revision=5742
Diffstat (limited to 'include/dspi/DSPI.h')
-rw-r--r--include/dspi/DSPI.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/dspi/DSPI.h b/include/dspi/DSPI.h
deleted file mode 100644
index d9e2acf..0000000
--- a/include/dspi/DSPI.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef DSPI_h
-#define DSPI_h
-
-#define DSPImin(x,y) (((x)<(y)) ? (x) : (y))
-#define DSPImax(x,y) (((x)>(y)) ? (x) : (y))
-#define DSPIclip(min, x, max) (DSPImin(DSPImax((min), (x)), max))
-
-
-// test if floating point number is denormal
-#define DSPI_IS_DENORMAL(f) (((*(unsigned int *)&(f))&0x7f800000) == 0)
-
-// test if almost denormal, choose whichever is fastest
-#define DSPI_IS_ALMOST_DENORMAL(f) (((*(unsigned int *)&(f))&0x7f800000) < 0x08000000)
-//#define DSPI_IS_ALMOST_DENORMAL(f) (fabs(f) < 3.e-34)
-
-#endif