While the calculation was already basically under control, I just was not content with the achieved numeric precision -- and the fact that the test case in fact misses the bar, making it difficult do demonstrate that the calculation is not derailed. I just had the gut feeling that it must be somehow possible to achieve an absolute error level, not just a relative error level of 1e-6 Thus I reworked this part into a generic helper function, see #1262 The end result is: * partial failure. we can only ''guarantee'' the relative error margin of 1e-6 * but in most cases not out to the most extreme numbers, the sophisticated solution achieves much better results way below the absolute error level of 1µ-Tick Thus with using rational numbers, we have now a solution that is absolutely precise in the regular case, and gradually introduces errors at the domain bound but with an guaranteed relative error margin of 1e-6 (== Time::SCALE) |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||