Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements rint #58

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Implements rint #58

wants to merge 1 commit into from

Commits on Sep 15, 2024

  1. Implements rint

    Functions implemented:
    
    - ccm::rint(float)
    - ccm::rint(double)
    - ccm::rint(long double)
    - ccm::rintl(long double)
    - ccm::rintf(float)
    
    - ccm::lrint(float)
    - ccm::lrint(double)
    - ccm::lrint(long double)
    - ccm::lrintl(long double)
    - ccm::lrintf(float)
    
    - ccm::llrint(float)
    - ccm::llrint(double)
    - ccm::llrint(long double)
    - ccm::llrintl(long double)
    - ccm::llrintf(long double)
    
    Tests written for:
    
    - Common and edge case conditions for `float`, `double`, and `long
      double` inputs.
    - Assert that FE_INVALID is raised for +/- infinity values and NaN
      values.
    - Asserts that functions can be evaluated at compile time.
    khurd21 committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    fd06b4f View commit details
    Browse the repository at this point in the history