[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    float -> double
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2007-07-17 12:59:06
Message-ID: 200707171459.06690.l.lunak () suse ! cz
[Download RAW message or body]


 Hello,

 I'd like to change all floats in the code to doubles. Floating point 
constants are double by default in C/C++ and I've run into ugly rounding 
errors because of mixing doubles and floats. Additionally, considering things 
like http://compilers.iecc.com/comparch/article/94-11-172, I think there's 
really not much reason to use floats - anybody disagrees?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic