Unverified Commit 5e9937d1 authored by Michael Flanders's avatar Michael Flanders Committed by GitHub
Browse files

[libc][math] Adds entrypoint and tests for nearbyintf128,scalbnf128 (#88443)

Closes #84689.

Adding @lntue for review.

I was curious about the implementation of
`round_using_current_rounding_mode` used for the `nearbyint` functions.
It has one of the rounding modes as unreachable
([here](https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/NearestIntegerOperations.h#L243)

),
and I was wondering if this was okay for the `nearbyint` functions.

---------

Co-authored-by: default avatarMichael Flanders <mkf727@cs.washington.edu>
parent c4c4e17c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment