Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

[WIP] Fix pow behavior on negative numbers #24

Open

Description

@castarco

Currently, making $a->pow($b) can produce errors if $a is a negative value. To fix the problem it's a good idea to solve the bugs #21 and #22 .

Activity

  1. castarco commented on Apr 1, 2015

    @castarco
    ContributorAuthor

    Partly done (negative numbers with integer exponents behave well), now depends on #22 (the exponent must be understood as if it's a rational number, check the divisor, and if it's even then throw an exception, but if it's odd, the pow can be computed).

  2. changed the title [-]Fix `pow` behavior on negative numbers[/-] [+][WIP] Fix `pow` behavior on negative numbers[/+] on Apr 1, 2015
  3. added this to the 0.11 Release milestone on Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions