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

PackRealLittle #63

Closed
athas opened this issue Jul 1, 2021 · 1 comment
Closed

PackRealLittle #63

athas opened this issue Jul 1, 2021 · 1 comment

Comments

@athas
Copy link
Contributor

athas commented Jul 1, 2021

It would be nice to have PackRealLittle as documented here: https://smlfamily.github.io/Basis/pack-float.html

Probably needs #62 to be implemented first.

PackReal32Little and PackReal64Little would also be useful, except that MosML does not have Real32.

@kfl
Copy link
Owner

kfl commented Jul 1, 2021

Moscow ML almost have the functionality that you are asking for in the Mosml module. For example, the Mosml.doubleVec function converts a real to an eight-element vector of Word8.word but in big-endian.

@kfl kfl closed this as completed in 13c581a Jul 2, 2021
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