SoftPosit.jl
SoftPosit.jl copied to clipboard
A posit arithmetic emulator.
`Base.maxintfloat(::Type{Posit})` has to be defined. ```julia julia> using SoftPosit, FastTransforms julia> x = Posit16.(rand(8)) 8-element Vector{Posit16}: Posit16(0.6254883) Posit16(0.7780762) Posit16(0.8145752) Posit16(0.50598145) Posit16(0.74768066) Posit16(0.29797363) Posit16(0.89624023) Posit16(0.6437988) julia> fft(x) ERROR: MethodError: no method...
Hello, I found unexpected results when converting a normal floating point number to a Posit8, I believe a large number should return _max\_posit_ instead of _NaR_ ```julia julia> using SoftPosit...
This is to summarize the performance of SoftPosit.jl measured via the conversion to and from Posit16 to and from Float32 | | v0.3 (SoftPosit-C) | v0.4 (SoftPosit.jl) | v0.5* |...