boussaffawalid / muparserx

Automatically exported from code.google.com/p/muparserx
Other
0 stars 0 forks source link

third root of negative number #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Equate (-3)^(1/3)

What is the expected output? What do you see instead?
Output
Real: -nan(0x8000000000000)
Imag: 0.0

Expected:
Real: -1.259921049894873
Imag: 0.0

What version of the product are you using? On what operating system?
muparserx_v2_1_3

Original issue reported on code.google.com by florian-...@web.de on 8 Oct 2012 at 9:07

GoogleCodeExporter commented 9 years ago
on Gentoo Linux

Original comment by florian-...@web.de on 8 Oct 2012 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by ib...@gmx.info on 8 Oct 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Fixed in the SVN Head revision (V1.2.4 / 20121008)

Original comment by ib...@gmx.info on 8 Oct 2012 at 9:52

GoogleCodeExporter commented 9 years ago
many thanks

Original comment by florian-...@web.de on 9 Oct 2012 at 5:30