Activity log for bug #1216931

Date Who What changed Old value New value Message
2013-08-26 14:00:44 matley bug added bug
2013-12-13 14:01:48 matley description Currently, nrml writers print float numbers by using the standard python printer. As in most cases, the result of the computation derives from a converging process the actual results (the xml output) could not be "string equal" between different exports. For example a calculation could end up with <poe>0.00345</poe> or<poe>0.0034499999</poe> In order to make the engine more easy to test it is worth to use scientific notation with a significant number of digits (let's say 6) such that the previous example is fixed to <poe>0.345E+0</poe> Currently, nrml writers print float numbers by using the standard python printer. As in most cases, the result of the computation derives from a converging process the actual results (the xml output) could not be "string equal" between different exports. For example a calculation could end up with <poe>0.00345</poe> or <poe>0.0034499999999</poe> In order to make the engine more easy to test it is worth to use scientific notation with a significant number of digits (let's say 6) such that the previous example is fixed to <poe>3.45000E-1</poe>
2013-12-13 14:01:57 matley oq-nrmllib: assignee Matteo Nastasi (nastasi-oq)