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

Support f32↔️float, f64↔️double #63

Closed
dtolnay opened this issue Mar 12, 2020 · 0 comments · Fixed by #65
Closed

Support f32↔️float, f64↔️double #63

dtolnay opened this issue Mar 12, 2020 · 0 comments · Fixed by #65
Labels
new binding Involves adding a new public type to cxx crate or rust/cxx.h header

Comments

@dtolnay
Copy link
Owner

dtolnay commented Mar 12, 2020

This should be a simple extension, just hasn't been implemented yet.

If C++ allows float and double to mean something other than f32 and f64, we'll want to emit some static assertions to ensure we're in the case where the meaning is the same as in Rust.

@dtolnay dtolnay added the new binding Involves adding a new public type to cxx crate or rust/cxx.h header label Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new binding Involves adding a new public type to cxx crate or rust/cxx.h header
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant