Exponentiation of a negative number returns invalid result

Issue #6 closed
Former user created an issue

Originally reported on Google Code with ID 6

Attempts to calculate the exponent of a negative number returns "NaN"
instead of the real result.  For example, the expression:

(5-7)^2

returns "NaN" instead of the expected "4".

This was observed on versions 0.7 beta under Windows XP and 0.6 beta under
Kubuntu.

Reported by snowgen on 2006-08-15 11:56:50

Comments (6)

  1. Former user Account Deleted

    ``` Reproducable on 0.7 beta1 with SUSE 10.1. ```

    Reported by `ariya.hidayat` on 2006-10-08 05:49:13 - Status changed: `Accepted`

  2. Former user Account Deleted

    ``` Fixed in trunk. ```

    Reported by `ariya.hidayat` on 2006-10-08 10:13:15 - Status changed: `Fixed`

  3. Former user Account Deleted

    Reported by `ariya.hidayat` on 2006-10-12 09:27:52 - Labels added: Milestone-0.7

  4. Former user Account Deleted

    Reported by `helder.pereira.correia` on 2007-05-15 13:33:57 - Status changed: `Verified`

  5. Log in to comment