diff options
author | jofret | 2009-04-23 06:44:42 +0000 |
---|---|---|
committer | jofret | 2009-04-23 06:44:42 +0000 |
commit | a4e97b9f2b9f45428b05c22dd7a5055101f31e5a (patch) | |
tree | 7de5761231fad44660589651f33de0e3a0d0e4ee /src | |
parent | f12d60bf1468764a86b8d2dc61ff6e5a5f857408 (diff) | |
download | scilab2c-a4e97b9f2b9f45428b05c22dd7a5055101f31e5a.tar.gz scilab2c-a4e97b9f2b9f45428b05c22dd7a5055101f31e5a.tar.bz2 scilab2c-a4e97b9f2b9f45428b05c22dd7a5055101f31e5a.zip |
Force compiler to see this as double without a cast.
Diffstat (limited to 'src')
-rw-r--r-- | src/signalProcessing/ifft/ir8tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/signalProcessing/ifft/ir8tx.c b/src/signalProcessing/ifft/ir8tx.c index 325ae7a9..aa770bf1 100644 --- a/src/signalProcessing/ifft/ir8tx.c +++ b/src/signalProcessing/ifft/ir8tx.c @@ -30,8 +30,8 @@ void ir8tx ( int nxtlt,int nthpo,int lengt, int j , kk; - double dblP7 = 1 / sqrt (double(2)) ; - double dblPi2 = 8 * atan (double(1)); + double dblP7 = 1 / sqrt(2.0) ; + double dblPi2 = 8 * atan(1.0); double scale, arg; double c1,c2,c3,c4,c5,c6,c7; |