Please do not reply to this email, use the link below.
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001539
--- Comment #29 from Ilija Kocho <[email protected]> ---
(In reply to comment #28)
> (In reply to comment #27)
> >
> > I reproduced your tests and it come back to me. In case of default
> > CYGNUM_LIBM_COMPATIBILITY configuration the real error is EDOM, but POSIX
> > model doesn't seem to support it. The cases that test EDOM should be
> > excluded for POSIX. (Please see comment 21 and patch sample below.
>
> I may not be following your reasoning, but POSIX behaviour does require
> EDOM. For example:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/asin.html
>
> Jifl
Thanks for reference.
I'm referring to actual code Ref:float/ieee754_api/wf_asinf.c
if (|x| > 1) POSIX mode sets errno = EDOM indeed, but returns 0 rather than
NaN.
Ilija
--
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.