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

List:       kde-commits
Subject:    k3b_0_11_branch: kdeextragear-1/k3b/src/device
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2004-08-17 8:26:48
Message-ID: 20040817082648.605AF1773 () office ! kde ! org
[Download RAW message or body]

CVS commit by trueg: 

removed use of nearbyint


  M +4 -4      k3bdevice.cpp   1.87.2.27


--- kdeextragear-1/k3b/src/device/k3bdevice.cpp  #1.87.2.26:1.87.2.27
@@ -2915,7 +2915,7 @@ QValueList<int> K3bCdDevice::CdDevice::d
             s = 3324; // 2.4x
           else if( dvd )
-            s = 1385*(int)nearbyint( (double)s/1385.0 );
+            s = 1385*(int)( (double)s/1385.0 + 0.5 );
           else
-            s = 175*(int)nearbyint( (double)s/175.0 );
+            s = 175*(int)( (double)s/175.0 + 0.5 );
           
           QValueList<int>::iterator it = ret.begin();


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

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