[Oberon] [EXT] Re: Wrong output of Texts.WriteReal and Texts.WriteRealFix in PO
skulski at pas.rochester.edu
Sun Oct 4 01:30:42 CEST 2020
>Consequently, programmers of any Project Oberon 2013 applications that could result in numeric overflow need to ensure that the desired resulting behaviour is clearly defined in the requirements and that they design, program and test their applications accordingly.
I do not think it is right. Numerical results must be either correct or none. Returning a NaN or a trap is tolerable, though troublesome. Returning a wrong result cannot be accepted as valid.
There are enough experts in the community to fix this problem. Perhaps Robert's Component Pascal numerical libraries can help?
More information about the Oberon