Skip to content

Correctly rounded math functions? #1220

Description

@jdh8

I'm working on metallic, correctly rounded C11 math functions from scratch in Rust, inspired by CORE-MATH and my previous works.

CORE-MATH is a C library correctly rounded in all rounding modes and runs in speed comparable to mainstream libm's. Since there is only the default fenv and rounding in Rust, I'm trying to exploit that to implement correctly rounded math functions faster than CORE-MATH.

Currently, I've made f32 functions as fast or faster than CORE-MATH. I'm still working hard to optimize f64 functions.

If you are interested in my interpretation of math functions, please let me ask some questions on no_std support:

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