Re: armel: floating point zero division does not raise exception

2020-02-16 Thread Adrian Bunk
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

armel: floating point zero division does not raise exception

2020-02-16 Thread Christian Kastner
On armel, dividing a flow by zero does not raise an exception, as it does on other platforms. $ cat divbyzero.c #include #include #include int main(int argc, char **argv) { float one = 1.0; feclearexcept(FE_ALL_EXCEPT); printf("Dividing by zero produces: ");