diff options
author | jofret | 2009-04-23 06:44:42 +0000 |
---|---|---|
committer | jofret | 2009-04-23 06:44:42 +0000 |
commit | 5a421d22b836213c89e190ca4b9ea3ef530e6172 (patch) | |
tree | 609c10b9915fd646d722c62eb14d804ded9330fa | |
parent | 63791dac2de02e47f6a4558d8a5788c04c49bda6 (diff) | |
download | scilab2c-5a421d22b836213c89e190ca4b9ea3ef530e6172.tar.gz scilab2c-5a421d22b836213c89e190ca4b9ea3ef530e6172.tar.bz2 scilab2c-5a421d22b836213c89e190ca4b9ea3ef530e6172.zip |
Force compiler to see this as double without a cast.
-rw-r--r-- | scilab2c/src/signalProcessing/ifft/ir8tx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scilab2c/src/signalProcessing/ifft/ir8tx.c b/scilab2c/src/signalProcessing/ifft/ir8tx.c index 325ae7a9..aa770bf1 100644 --- a/scilab2c/src/signalProcessing/ifft/ir8tx.c +++ b/scilab2c/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; |