From: SourceForge.net <no...@so...> - 2009-04-03 22:30:08
|
Bugs item #2727846, was opened at 2009-04-03 07:09 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2727846&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Blahota István (blahota) Assigned to: Nobody/Anonymous (nobody) Summary: tan(%pi/2) is not correct (or just not nice?) Initial Comment: cot(0) is absolutely correct ("The number 0 isn't in the domain of cot -- an error. To debug this try debugmode(true);"), but cot(%pi) and tan(%pi/2) say nothing, the result of float(tan(%pi/2)) is -8.165889364191922*10^15 (maxima 5.17.1) ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-04-03 22:30 Message: This seems to be an error which has been added in one of the last versions. I cannot confirm this on maxima 5.13.0: build_info()$ Maxima version: 5.13.0 Maxima build date: 9:20 12/12/2007 host type: i686-pc-linux-gnu lisp-implementation-type: GNU Common Lisp (GCL) lisp-implementation-version: GCL 2.6.8 (%i8) cot(%pi); (%o8) Division by 0 -- an error. To debug this try debugmode(true); (%i9) float(cot(%pi)); (%o9) Division by 0 -- an error. To debug this try debugmode(true); (%i10) tan(%pi/2); (%010) Division by 0 -- an error. To debug this try debugmode(true); (%i11) float(tan(%pi/2)); (%o11) Division by 0 -- an error. To debug this try debugmode(true); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=2727846&group_id=4933 |