|
From: David S. <tom...@us...> - 2026-06-06 07:14:59
|
--- **[bugs:#4757] %e^2.0, %emode:false stays %e^2.0** **Status:** open **Group:** None **Labels:** %emode simplification **Created:** Sat Jun 06, 2026 07:14 AM UTC by David Scherfgen **Last Updated:** Sat Jun 06, 2026 07:14 AM UTC **Owner:** nobody According to the manual, `%emode` only controls the simplification of expressions of the type `%e^(%i*%pi*x)`. But when it's set to `false`, it also prevents `%e^2.0` from becoming a float: ~~~ /* OK: */ (%i1) %e^2.0; (%o1) 7.38905609893065 /* Wrong: */ (%i2) %e^2.0, %emode:false; (%o2) %e^2.0 ~~~ This is caused by `simpexpt` wrapping the code that would do this correctly inside `(when $%emode ...`. --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |