From: SourceForge.net <no...@so...> - 2005-04-13 15:17:10
|
Bugs item #1179660, was opened at 2005-04-09 03:35 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1179660&group_id=4933 Category: Lisp Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: zouyc (zouyc) Assigned to: Nobody/Anonymous (nobody) Summary: limits of bfloat() Initial Comment: Example: _______________________________________________________ (%i1614) bfloat(4.211300985662053E-22); Warning: Float to bigfloat conversion of 4.2113009856620533E-22 (%o1614) 4.211300985662053B-22 (%i1615) bfloat(4.211300985662054E-22); Warning: Float to bigfloat conversion of 4.2113009856620538E-22 Maxima encountered a Lisp error: Error in CATCH [or a callee]: Zero divisor. Automatically continuing. To reenable the Lisp debugger set *debugger-hook* to nil. _______________________________________________________ The only difference between (%i1614) and (%i1614) is the last number of the float. It's too strange. Maxima 5.9.1 ---------------------------------------------------------------------- >Comment By: Raymond Toy (rtoy) Date: 2005-04-13 11:17 Message: Logged In: YES user_id=28849 Fixed this immediate problem by checking for division by zero Should think about another implementation/algorithm. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2005-04-11 12:47 Message: Logged In: YES user_id=28849 I have a fix for this immediate problem, but I think Maxima's ration1 function is a bit buggy. CMUCL used to use it, but it was replaced by a version from Clisp some time ago. Unfortunately, I'm not sure how to make Clisp's version work with maxima, since maxima wants to be able to set the epsilon value arbitrarily. Clisp expects the standard epsilon values for single/double/log float. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1179660&group_id=4933 |