Skip to content

Document failure conditions #115

@jangler

Description

@jangler

As someone new to this crate, I've had a lot of questions about when operations can fail. Like: why can a fraction have a None numerator or denominator? When might conversion to floats fail, and why can this happen if Fraction is advertised as a drop-in float replacement? When can NaNs arise? So far I haven't found the answers to these questions in the documentation, although I've been able to answer some of them with the source code. If I missed something please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions