Open
Description
Thanks for the effort towards a pure-Julia fft package. I'm very interested in type-flexible fft, which I thought would be supported with such an fft implementation. However, Float16
is promoted to Float32
julia> x = rand(Float16,4);
julia> FourierTransforms.fft(x)
4-element Array{Complex{Float32},1}:
2.2734375f0 + 0.0f0im
-0.6142578f0 + 0.38378906f0im
-0.5371094f0 + 0.0f0im
-0.6142578f0 - 0.38378906f0im
and arbitrary number formats are not supported
julia> using SoftPosit
julia> x = Posit16.(rand(4))
4-element Array{Posit16,1}:
Posit16(0x3e4e)
Posit16(0x0eb6)
Posit16(0x10d8)
Posit16(0x308f)
julia> FourierTransforms.fft(x)
ERROR: type Posit16 not supported
Stacktrace: ...
Can I contribute somehow to make this package fully type-flexible?
Metadata
Metadata
Assignees
Labels
No labels
Activity