From: Dan G. <dg...@us...> - 2010-10-02 17:31:06
|
Update of /cvsroot/maxima/maxima/tests In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv22841/tests Modified Files: rtest_trig.mac Log Message: src/trigi.lisp: o %piargs-tan/cot: signal domain error for tan(%pi/2) simplify tan(integer*%pi) => 0 fixes tan(%pi*integer) simplification - ID: 3058290 domain error for tan - ID: 3064709 tan(%pi/2) is not correct (or just not nice?) - ID: 2727846 tests/rtest_trig.mac: o add test Index: rtest_trig.mac =================================================================== RCS file: /cvsroot/maxima/maxima/tests/rtest_trig.mac,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- rtest_trig.mac 3 May 2009 16:38:52 -0000 1.15 +++ rtest_trig.mac 2 Oct 2010 17:30:57 -0000 1.16 @@ -332,6 +332,10 @@ tan(n*2*%pi); 0; +/* tan(%pi*integer) simplification - ID: 3058290 */ +tan(n*%pi); +0; + (kill(n,declare),0); 0$ |