|
From: SourceForge.net <no...@so...> - 2012-04-23 08:24:58
|
Bugs item #3520550, was opened at 2012-04-23 01:24 Message generated for change (Tracker Item Submitted) made by 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: Open Resolution: None Priority: 5 Private: No Submitted By: simon_shakeshaft () Assigned to: Nobody/Anonymous (nobody) 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3520550&group_id=1274 |