3 ms·
bfp uses C++ classes which store the format hyperparameters as fields. If you'd rather a C/C++ library memory layout which reflects the bitwidth of the particu
by dnautics 9y ago
bfp uses C++ classes which store the format hyperparameters as fields. If you'd rather a C/C++ library memory layout which reflects the bitwidth of the particular posit:
https://github.com/Etaphase/FastSigmoids.jl https://github.com/Etaphase/FastSigmoids.jl
contains both a julia library and a C/C++ library. Posits are implemented as a C type and a C++ class where the type and class sizes correspond to the bitwidth.
- libcg 9y agoDev here, I'm planning to transition to a C library with fixed size posit implementations. I need all the help I can get :) FastSigmoids uses float and double types which would be problematic in embedded environments.
- dnautics 9y agoShoot me a message. I am planning on making a bitwise/intmath implementation in C. Things might be accelerated if you know someone interested in sponsoring it.