|
From: SourceForge.net <no...@so...> - 2012-05-04 06:58:01
|
Bugs item #3520550, was opened at 2012-04-23 01:24 Message generated for change (Comment added) made by lballabio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3520550&group_id=12740 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: simon_shakeshaft () >Assigned to: Luigi Ballabio (lballabio) Summary: Possible bug in rounding.cpp? Initial Comment: Hello, Applying UpRouding to 0.86313 with precision set to 5 produces 0.86314. Assuming this behaviour is not 'by-design' then I've attached suggested patch files for ql/math/rouding.cpp and an additional test case in /test-suite/rounding.cpp. Regards Simon Shakeshaft ---------------------------------------------------------------------- Comment By: Luigi Ballabio (lballabio) Date: 2012-05-03 23:58 Message: The patch was applied to the Subversion repository. Thank you for the report and the fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3520550&group_id=12740 |