Skip to content

Can factorize_ceili() be rewritten such that no overflow can occur? #2

Description

@mbeutel

The two overloads of factorize_floori() always succeed (provided the preconditions hold) because they were carefully written to avoid any possible overflow. However, both factorize_ceili() overloads can currently overflow. I suspect that factorize_ceili() could also be reformulated such that no overflow can occur overflows occur in fewer cases (e.g. the related log_ceili() is overflow-free).

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