Re: m68k OCaml porting issue
Le 22/12/2021 à 13:45, Stéphane Glondu a écrit :
> While debugging OCaml 4.13.1's testsuite on m68k, I've noticed that the
> following:
> [...]
> which seems to be incorrect.
> [...]
Another simpler example, not involving unions:
-----8<-----
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
int main(int argc, char** argv) {
double d[2];
d[0] = NAN;
d[1] = -d[0];
printf("%F\n", d[1]);
}
-----8<-----
returns "-INF" instead of "-NAN".
Cheers,
--
Stéphane
Reply to: