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
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: ");
2 matches
Mail list logo