[Maxima] inconsistency with complex numbers?
fateman at eecs.berkeley.edu
Sun Apr 22 10:13:10 CDT 2012
On 4/22/2012 7:54 AM, Claudio Botarelli wrote:
> Particularly interesting the tests:
> both should produce true rather than false.
> Any idea about?
Yes, This happens if you use "=" to compare numbers that are of
is (0=0.0) is false.
I You can avoid it by not using floating point numbers (best
by using is ( equal(0,0.0)) instead.
> Do I improperly/wrongly use Maxima?
> Is it a Maxima's bug?
No opinion. Floating point numbers should be used primarily as a last
reducing a calculation to an approximate number for (say) plotting.
> Thanks in advance for your support.
> Kind Regards
> Maxima mailing list
> Maxima at math.utexas.edu
More information about the Maxima