Re: armel: floating point zero division does not raise exception
On Sun, Feb 16, 2020 at 01:33:55PM +0100, Christian Kastner wrote:
> On armel, dividing a flow by zero does not raise an exception, as it
> does on other platforms.
>...
> Any suggestions on how to deal with this? Is this really a bug, or is my
> test program above missing something?
>...
armel is the only current release architecture without an FPU in the
port baseline.
The FPU emulation is known to not be 100% correct, so even though this
specific issue does not sound familiar to me it is not a surprise.
For software that is actually used on armel it is good enough that
noone notices.
For scientific software that relies on 100% correct floating point
semantics it can be best to not ship it on armel, see #838496 for
an example.
cu
Adrian
Reply to: