|
From: David S. <tom...@us...> - 2026-06-02 09:30:49
|
I like your pragmatic definition. We should extend `risplit` so that it can raise errors (controlled by a flag) for expressions that do not describe real or complex numbers, for example `true`, `false`, `und`, `ind`, `inf`, `minf`, lists, equations, inequalities, sets, matrices, ... Then we can safely rely on `risplit` in `$featurep`. --- **[bugs:#4749] Declaring a symbol both real and complex or real and imaginary** **Status:** maybe-fixed **Group:** None **Labels:** declare rectform featurep csign **Created:** Mon Jun 01, 2026 07:19 AM UTC by David Scherfgen **Last Updated:** Tue Jun 02, 2026 07:03 AM UTC **Owner:** nobody Maxima allows declaring a symbol both `real` and `complex` and even both `real` and `imaginary`. I think that in the second case, it should at least issue a warning, if not an error. For the first case, where a symbol is declared both `real` and `complex`, Maxima behaves differently across `csign`, `rectform` and `featurep`: ~~~ (%i1) declare(x, real, x, complex); (%o1) done (%i2) csign(x); (%o2) complex (%i3) rectform(x); (%o3) x (%i4) featurep(x, real); (%o4) true (%i5) featurep(x, complex); (%o5) true ~~~ These functions all have a different concept ... --- 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. |