From: SourceForge.net <noreply@so...>  20030610 14:13:57

Bugs item #751934, was opened at 20030610 10:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=751934&group_id=4933 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stavros Macrakis (macrakis) Assigned to: Nobody/Anonymous (nobody) Summary: Inconsistent simplification of 1.0*x etc. Initial Comment: Maxima is sloppy about simplifications involving floating point numbers. Notation: ==> means simplifies to (OK) means I think this is correct (No!) means I think this is incorrect 1.0*x ==> x (No!) Prefer: 1.0*x though 2.0*x ==> 2.0*x (OK) 0.0*x ==> 0.0 (OK) 2.0*x2.0*x ==> 0 (No!) Prefer: 0.0 though 2.02.0 ==> 0.0 (OK) (2.02.0)*x ==> 0.0 (OK) x^1.0 ==> x (No!) Prefer: x^1.0 though x^2.0 ==> x^2.0 (OK) x^1.0 ==> x^1.0 (OK) (normally displays as 1/ (x^1.0)) x+0.0 ==> x (???) I am not sure whether this is correct. All the above cases also happen with mixed float/fixed and with bfloats.  Whenever the result depends on the floatingpoint precision, the float must be maintained.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=751934&group_id=4933 