Re: [Chicken-users] numbers egg - (angle y) feedback

2007-10-11 Thread felix winkelmann
On 10/11/07, Terrence Brannon <[EMAIL PROTECTED]> wrote: > I tried to re-open the ticket on trac, but was told my submission was > potential > spam. > You have to go to "Settings" and register a username. cheers, felix ___ Chicken-users mailing list

Re: [Chicken-users] numbers egg - (angle y) feedback

2007-10-11 Thread Zbigniew
I believe you are misunderstanding what angle is supposed to do. ANGLE should return 0 (positive reals) or pi (negative reals) when its argument has a zero imaginary component. The R5RS is abundantly clear that the result of angle is a real number x s.t. -pi < x <= pi. The current behavior of ang

[Chicken-users] numbers egg - (angle y) feedback

2007-10-11 Thread Terrence Brannon
I tried to re-open the ticket on trac, but was told my submission was potential spam. The (angle) function does not coredump. But it gives a result of 0.0 for an argument of 2, which I do not think is correct. The same function in J gives -0.416147+0.909297i Here is a link to the J function,