Skip to content

Implement the 'checked_pow' function for num::rational::Ratio as is done for i32, i64 etc.. #442

Description

@bruno-j-nicoletti

Currenly if a num::rational::Ratio encouters a numerical error in a call to the 'pow' method it raises a panic. The fundamental Rust numerical data types implement checked_pow. It would be useful it num::rational::Ratio implemented an equivalent method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions