[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] [Chicken-bugs] #430: Fallback definition of angle is
From: |
Chicken Scheme |
Subject: |
[Chicken-janitors] [Chicken-bugs] #430: Fallback definition of angle is wrong |
Date: |
Mon, 25 Feb 2008 02:27:19 -0000 |
#430: Fallback definition of angle is wrong
-----------------------------------------+----------------------------------
Reporter: John Cowan <address@hidden> | Type: defect
Status: new | Priority: minor
Milestone: | Component: core libraries
Version: 3.0.0 | Keywords:
-----------------------------------------+----------------------------------
The fallback definition of the R5RS angle procedure is the constant 0
(line 937 of library.scm, as of revision 8890). However, it should be (if
(< x 0) (fp* 2.0 (acos 0.0)) 0.0) instead, because negative real numbers
have an angle of pi.
--
Ticket URL: <http://trac.callcc.org/ticket/430>
Chicken Scheme <http://www.call-with-current-continuation.org/>
The CHICKEN Scheme-to-C compiler
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] [Chicken-bugs] #430: Fallback definition of angle is wrong,
Chicken Scheme <=