Skip to content

[IMPROVEMENT] mypow10 parameters or result should be checked to guard against overflow #9

@zfields

Description

@zfields

Is there a known upper and lower bounds of the exponent, or a LDOUBLE_MAX variable or equivalent (maybe DBL_MAX)? If so, then we could protect against overflow.

The cast() function test against INTMAX_MAX for this very reason.

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