From oct-devel at common-lisp.net Sat Nov 23 18:27:00 2013 From: oct-devel at common-lisp.net (oct) Date: Sat, 23 Nov 2013 18:27:00 -0000 Subject: [oct] #5: (sin +pi+) should not be zero Message-ID: <050.6a9fb477f71534e101078068e6aeeb1b@common-lisp.net> #5: (sin +pi+) should not be zero --------------------+------------------------------------------------------- Reporter: rtoy | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: Core | Version: Keywords: | --------------------+------------------------------------------------------- Since +pi+ is not the mathematical pi, (sin +pi+) cannot be zero. This is caused by doing a sloppy pi reduction for small args. -- Ticket URL: oct oct From oct-devel at common-lisp.net Mon Nov 25 01:02:42 2013 From: oct-devel at common-lisp.net (oct) Date: Mon, 25 Nov 2013 01:02:42 -0000 Subject: [oct] #2: Gamma not accurate In-Reply-To: <050.48ef14f73db3452dc194000ec9de3466@common-lisp.net> References: <050.48ef14f73db3452dc194000ec9de3466@common-lisp.net> Message-ID: <059.25054cf0b4f523c76973fcde62c57cf5@common-lisp.net> #2: Gamma not accurate ---------------------+------------------------------------------------------ Reporter: rtoy | Owner: somebody Type: defect | Status: closed Priority: minor | Milestone: Component: Core | Version: Resolution: fixed | Keywords: ---------------------+------------------------------------------------------ Changes (by rtoy): * status: new => closed * resolution: => fixed Comment: I think this is fixed. Spot checks show that the results are accurate. -- Ticket URL: oct oct From oct-devel at common-lisp.net Sun Nov 24 18:41:57 2013 From: oct-devel at common-lisp.net (oct) Date: Sun, 24 Nov 2013 18:41:57 -0000 Subject: [oct] #5: (sin +pi+) should not be zero In-Reply-To: <050.6a9fb477f71534e101078068e6aeeb1b@common-lisp.net> References: <050.6a9fb477f71534e101078068e6aeeb1b@common-lisp.net> Message-ID: <059.58c630d82df5aca8c801a05535043e2b@common-lisp.net> #5: (sin +pi+) should not be zero ---------------------+------------------------------------------------------ Reporter: rtoy | Owner: somebody Type: defect | Status: closed Priority: major | Milestone: Component: Core | Version: Resolution: fixed | Keywords: ---------------------+------------------------------------------------------ Changes (by toy.raymond@?): * status: new => closed * resolution: => fixed Comment: commit 6127a79e0d6300bc7ac7754190fbd559d00e7401 Author: Raymond Toy Date: Sun Nov 24 10:41:27 2013 -0800 Fix ticket:5 o Implement better pi reduction and also always do pi reduction. o Add test for sin(pi) and cos(2^120), to test pi reduction. o Accuracy for erfc is only 198 bits. -- Ticket URL: oct oct