This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001539] Single precision floating point math library


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 <ilijak@siva.com.mk> ---
(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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]