8000 Implement the 'checked_pow' function for num::rational::Ratio as is done for i32, i64 etc.. · Issue #442 · rust-num/num · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Implement the 'checked_pow' function for num::rational::Ratio as is done for i32, i64 etc.. #442
Open
@bruno-j-nicoletti

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

      0