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 floating-point values other than 32 or 64 bits #326

Open
osandov opened this issue Jul 5, 2023 · 0 comments
Open

Support floating-point values other than 32 or 64 bits #326

osandov opened this issue Jul 5, 2023 · 0 comments

Comments

@osandov
Copy link
Owner

osandov commented Jul 5, 2023

long double is 80 bits on x86/x86-64. GCC also supports _Float128 on some platforms: https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html. GCC and Clang also seem to support _Float16.

Like for >64-bit integers (see #170), we support creating drgn.Type and reference or absent drgn.Object instances for non-32-/64-bit floats, but we don't support values. Unlike for integers, I don't know if there's a common arbitrary precision floating-point library we can use.

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

No branches or pull requests

1 participant