NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD math asinf() Issue


2009/9/17 Ingolf Steinbach <>:
> 2009/9/17 Channa <>:
>> Is this a bug with the respect to asinf() ?
> See for instance
> 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,


Home | Main Index | Thread Index | Old Index