[Bugs] #4810 Calculate UNSP: For a negative power, in the output the input equation is not displayed correctly.

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jan 21 14:35:12 EST 2015


#4810: For a negative power, in the output the input equation is not displayed
correctly.
----------------------------------------+-------------------------------
  Reporter:  vikramahuja1001            |            Owner:
      Type:  defect                     |           Status:  new
  Priority:  Unspecified by Maintainer  |        Milestone:  Unspecified
 Component:  Calculate                  |          Version:  Unspecified
  Severity:  Unspecified                |       Resolution:
  Keywords:  calculate                  |  Distribution/OS:  Unspecified
Bug Status:  Unconfirmed                |
----------------------------------------+-------------------------------
\
\
\
\
\
\
Description changed by vikramahuja1001:
\

Old description:

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

New description:

 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))

--
\
\
\
\

--
Ticket URL: <http://bugs.sugarlabs.org/ticket/4810#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list