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

byte pattern representation of a bigfloat? #114

Open
rjfarmer opened this issue Aug 9, 2020 · 2 comments
Open

byte pattern representation of a bigfloat? #114

rjfarmer opened this issue Aug 9, 2020 · 2 comments

Comments

@rjfarmer
Copy link

rjfarmer commented Aug 9, 2020

Is it possible to convert a bigfloat number into its underlying byte pattern? I'm trying to convert to/from quad precision numbers between fortran/python (with bigfloat storing things python side) and using a (ctypes.c_ubyte * 16) array to pass to fortran.

Thanks

@jiahzhang
Copy link

Were you able to find a way to get the byte pattern?

@rjfarmer
Copy link
Author

No

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

No branches or pull requests

2 participants