Closed athas closed 3 years ago
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.
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.
Mosml
Mosml.doubleVec
real
Word8.word
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.