Skip to content

cleanup: Reuse MinInt and Int from libm in compiler-builtins #879

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

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

Conversation

tgross35
Copy link
Contributor

No description provided.

@tgross35 tgross35 changed the title cleanup: Reuse MinInt and Int from libm in compiler-builtins cleanup: Reuse MinInt and Int from libm in compiler-builtins Apr 21, 2025
CONTRIBUTING.md Outdated
- To reinterpret an integer as a float use the `f32::from_bits` constructor. The
MUSL code uses the `SET_FLOAT_WORD` macro, or a union, to do this operation.
- You may use other methods from core like `f64::is_nan`, etc. as appropriate.
- Rust does not have hex float literals. This crate provides two `hf16!`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Rust does not have hex float literals. This crate provides two `hf16!`,
- Rust does not have hex float literals. This crate provides four `hf16!`,

or just drop the word

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.

2 participants