summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjofret2009-04-23 06:39:07 +0000
committerjofret2009-04-23 06:39:07 +0000
commit7e93a42ef62a108947e3a1f4196e66013729684c (patch)
tree673963147cec7a659852babc9b462305d6c3826a
parent50ee7674d70757001bc3434addb3ab0c6a10b156 (diff)
downloadscilab2c-7e93a42ef62a108947e3a1f4196e66013729684c.tar.gz
scilab2c-7e93a42ef62a108947e3a1f4196e66013729684c.tar.bz2
scilab2c-7e93a42ef62a108947e3a1f4196e66013729684c.zip
Force compiler to see this as double without a cast.
-rw-r--r--scilab2c/src/signalProcessing/fft/r8tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scilab2c/src/signalProcessing/fft/r8tx.c b/scilab2c/src/signalProcessing/fft/r8tx.c
index 5f6628b3..44866ce6 100644
--- a/scilab2c/src/signalProcessing/fft/r8tx.c
+++ b/scilab2c/src/signalProcessing/fft/r8tx.c
@@ -30,8 +30,8 @@ void r8tx ( 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;