From 5a421d22b836213c89e190ca4b9ea3ef530e6172 Mon Sep 17 00:00:00 2001 From: jofret Date: Thu, 23 Apr 2009 06:44:42 +0000 Subject: Force compiler to see this as double without a cast. --- scilab2c/src/signalProcessing/ifft/ir8tx.c | 4 ++-- 1 file 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; -- cgit