Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (760 - 762 of 1030)

Ticket Resolution Summary Owner Reporter
#828 fixed atan branch cuts wrong? R. Matthew Emerson Raymond Toy
Description

In ccl 1.6 (32-bit), we get

1> (atan #c(-1d-20 2d0))
#C(-1.5707963267948966D0 0.5493061443340549D0)

This is right, I think. However,

2> (atan #c(-0d0 2d0))
#C(1.5707963267948966D0 0.5493061443340549D0)

The spec says that on the imaginary axis above i, atan is continuous on Quadrant II. Since float-sign -0d0) -> -1d0, both answers should have the same sign for the realpart.

#829 fixed atanh branch cut wrong? R. Matthew Emerson Raymond Toy
Description

In ccl 1.6 (32-bit) we have

1 > (atanh #c(-2d0 -1d-20))
#C(-0.5493061443340549D0 -1.5707963267948966D0)

but

1 > (atanh #c(-2d0 -0d0))
#C(-0.5493061443340549D0 1.5707963267948966D0)

The spec says that for on the negative real axis less than -1, atanh is continuous with Quadrant III. Since (float-sign -0d0) -> -1d0, both answers should have the same signs and the imaginary part should be negative.

#830 fixed (abs #c(1d300 1d300)) signals overflow R. Matthew Emerson Raymond Toy
Description

As the subject says, (abs #c(1d300 1d300)) signals an overflow. But in fact, the answer is approximately 1.414d300, which still fits in a double-float.

The implementation is probably just doing sqrt(x^2+y^2). A better answer can be achieved using |x|*sqrt(1+(y/x)^2) if |x| >= |y|, with obvious modifications for |x| <= |y|.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.