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

Type-conversion SYMs #366

Closed
wants to merge 2 commits into from

Conversation

CatsAreFluffy
Copy link

Add SYMs for the numeric types and SYM itself to the parser and the printers for each runtime, to allow fast conversions between numeric types. Note that this functionality was already present in the runtimes, it just wasn't previously accessible.

@CatsAreFluffy
Copy link
Author

Apparently #361 exists. Note that this PR's conversions between F24 and integer types are bitcasts rather than the numeric conversions #361 uses.

@enricozb
Copy link
Contributor

Yeah we're considering adding bit cast operators like [as_f24] if you just want to reinterpret the bits.

@CatsAreFluffy
Copy link
Author

#361 got merged and that conflicts with this so closing.

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