NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD math asinf() Issue
Hi,
2009/9/17 Ingolf Steinbach <ingolf.steinbach%googlemail.com@localhost>:
> 2009/9/17 Channa <channa.kad%gmail.com@localhost>:
>> Is this a bug with the respect to asinf() ?
>
> See for instance
> http://www.opengroup.org/onlinepubs/009695399/functions/asinf.html for
> allowed behavior in case the argument to asinf() is not in the range
> [-1,+1].
>
> Kind regards
> Ingolf
Thanks for the information, as per the specification of sinf:
For finite values of x not in the range [-1,1], a domain error shall
occur, and [MX] [Option Start] either a NaN (if supported), or "an
implementation-defined value shall be returned".
So the return value is implementation defined and NetBSD does not return Nan.
Thanks & Regards,
Channa
--
Regards,
Channa
Home |
Main Index |
Thread Index |
Old Index