#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)
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
comment:2 Changed 9 years ago by godiard
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
Note: See
TracTickets for help on using
tickets.
Output when power is positive