Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4810 closed defect (fixed)

For a negative power, in the output the input equation is not displayed correctly.

Reported by: vikramahuja1001 Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Calculate Version: Unspecified
Severity: Unspecified Keywords: calculate
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description (last modified by vikramahuja1001)

For the equation x**-y , the output displays input equation as x-y and not x^-y as it does for a positive power.

Test cases:
2**-1 , 2**(-1) , 2**(1) , 2**(-1/2), 2**(-1/-2) , 2**(+1/+2) , 2**(-1+-1), 2**((-1)+(-1))

Attachments (2)

positive base.png (44.6 KB) - added by vikramahuja1001 9 years ago.
Output when power is positive
negative.png (47.3 KB) - added by vikramahuja1001 9 years ago.
Output when power is negative

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by vikramahuja1001

  • Component changed from Sugar to Calculate
  • Keywords calculate added

Changed 9 years ago by vikramahuja1001

Output when power is positive

Changed 9 years ago by vikramahuja1001

Output when power is negative

comment:2 Changed 9 years ago by godiard

Filled as #3653 and #2397

comment:3 Changed 9 years ago by vikramahuja1001

  • Description modified (diff)

comment:4 Changed 9 years ago by vikramahuja1001

  • Description modified (diff)

comment:5 Changed 9 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by 0b451f328150c2f1222ababf9344b5518ea5776c

comment:6 Changed 9 years ago by vikramahuja1001

case : 1+2**3 of form a+x**y

Last edited 9 years ago by vikramahuja1001 (previous) (diff)
Note: See TracTickets for help on using tickets.