Unable to evaluate "(3+4i)^2" formula with BigNumbers

Bug #1515600 reported by Bartosz Kosiorek
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Calculator App
Fix Released
Critical
Bartosz Kosiorek

Bug Description

When I'm trying to run "eval" function on "(3+4i)^2" string, it gives me exception:
"TypeError: Property 'toExponential' of object -6.999999999999997 + 24i is not a function"
It is an issue only in that case.

When I evaluate "(3+4i)*(3+4i)) it returns correct result "-7+24i"

Related branches

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calculator-app at revision 239, scheduled for release in ubuntu-calculator-app, milestone Unknown

Changed in ubuntu-calculator-app:
status: In Progress → Fix Committed
Changed in ubuntu-calculator-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.