aboutsummaryrefslogtreecommitdiff
path: root/modules++/DSPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules++/DSPI.h')
-rw-r--r--modules++/DSPI.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules++/DSPI.h b/modules++/DSPI.h
index 283e848..640060f 100644
--- a/modules++/DSPI.h
+++ b/modules++/DSPI.h
@@ -25,7 +25,7 @@ static inline int DSPI_IS_DENORMAL(t_float f)
{
t_dspiflint pun;
pun.f = f;
- return ((pun.i[1] & 0x7f800000) == 0);
+ return ((pun.i & 0x7f800000) == 0);
}
// test if almost denormal, choose whichever is fastest
@@ -33,7 +33,7 @@ static inline int DSPI_IS_ALMOST_DENORMAL(t_float f)
{
t_dspiflint pun;
pun.f = f;
- return ((pun.i[1] & 0x7f800000) < 0x08000000);
+ return ((pun.i & 0x7f800000) < 0x08000000);
}
#elif PD_FLOAT_PRECISION == 64