mirchaemanuel / symja

Automatically exported from code.google.com/p/symja
1 stars 0 forks source link

Error evaluating expression #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Using util.evaluate(1.0-(1.0-1*(2)))
2.Parsing the result with:

       OutputFormFactory.get().convert(buf, result);
       String s = buf.toString();

What is the expected output? What do you see instead?
Expected: 2 Instead: 2.0+I*(-2.4492935982947064E-16)

What version of the product are you using? On what operating system?
meconsole010 with Ubuntu Linux 10.04

Please provide any additional information below.

It works fine with meconsole009

Original issue reported on code.google.com by Nagui...@gmail.com on 28 Dec 2010 at 6:55

GoogleCodeExporter commented 8 years ago
Fixed with revision 632:
http://code.google.com/p/symja/source/detail?r=632

Original comment by axelclk@gmail.com on 28 Dec 2010 at 5:17