RE: [Rd] 1/tan(-0) != 1/tan(0)

2005-06-01 Thread Ted Harding
On 01-Jun-05 Martin Maechler wrote: Testing the code that Morten Welinder suggested for improving extreme tail behavior of qcauchy(), I found what you can read in the subject. namely that the tan() + floating-point implementation on all four different versions of Redhat linux, I have access

Re: [Rd] 1/tan(-0) != 1/tan(0)

2005-06-01 Thread Simon Urbanek
On Jun 1, 2005, at 5:50 AM, (Ted Harding) wrote: However, a query: Clearly from the above (ahich I can reproduce too), tan() can distinguish between -0 and +0, and return different results (otherwise 1/tan() would not return different results). But how can the user tell the difference

Re: [Rd] 1/tan(-0) != 1/tan(0)

2005-06-01 Thread Gabor Grothendieck
On 6/1/05, Simon Urbanek [EMAIL PROTECTED] wrote: On Jun 1, 2005, at 5:50 AM, (Ted Harding) wrote: However, a query: Clearly from the above (ahich I can reproduce too), tan() can distinguish between -0 and +0, and return different results (otherwise 1/tan() would not return different