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

Add ceilf16 and ceilf128 #436

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

tgross35
Copy link
Contributor

Add a generic version of ceil, then use it to provide the algorithm for f16 and f128.

@tgross35 tgross35 force-pushed the generic-ceil branch 2 times, most recently from 0a875db to 8209c2e Compare January 13, 2025 11:42
This may allow for small optimizations with larger float types since
`u32` math can be used after shifting. LLVM may be already getting this
anyway.
Use the generic algorithms to provide implementations for these
routines.
@tgross35
Copy link
Contributor Author

i386 should probably get an asm implementation for floorf/ceilf as well, similar to floor/ceil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant