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

List:       kde-devel
Subject:    Re: Implicit double to int convertions in kolf. Ok to fix them?
From:       "Dmitry Suzdalev" <dimsuz () gmail ! com>
Date:       2006-05-25 9:54:10
Message-ID: 7aa876c10605250254v4a575dd3if1337adaa39a885c () mail ! gmail ! com
[Download RAW message or body]

On 5/25/06, André Wöbbeking <Woebbeking@onlinehome.de> wrote:
> Your changes produce the same code as before you only supress the
> warnings. But you still can have overflows.
Ah! I got it :). So Aaron, speaked about the case when double contains
value that's bigger then int can ever have. I just forgot to think
about this situation ;).
And yes, I know, that the code is the same - only w/o warnings.

> If you're sure there are no overflows I would use qRound() as it gives
> better results.
Well, I guess it really makes sense to wait for Qt4's QGraphicsView as
it was suggested by Aaron

Thanks!
Dmitry.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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