You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to add single precision floats to the package. The idea is that we can use R's integer vectors (always 32 bit) to store float32 numbers (same done in https://github.com/wrathematics/float pkg).
I'm not that familiar with codebase for rray, so I'm curious on how much effort do you think it will take? My hypothesis is that it should not take too much - xtensor is templated library, so in theory most of the code for double could be reused.
The text was updated successfully, but these errors were encountered:
Well, int32_t should be fine. The issue is how to reinterpret int32_t* as float*. If we could check some attribute of R object in order to understand that it is actually float32..
It would be useful to add single precision floats to the package. The idea is that we can use R's integer vectors (always 32 bit) to store float32 numbers (same done in https://github.com/wrathematics/float pkg).
I'm not that familiar with codebase for
rray
, so I'm curious on how much effort do you think it will take? My hypothesis is that it should not take too much - xtensor is templated library, so in theory most of the code for double could be reused.The text was updated successfully, but these errors were encountered: