`Normed` supports the conversion to `Rational`, but does not support the conversion from `Rational`. ```julia julia> N0f8(1//2) ERROR: MethodError: no method matching unsafe_trunc(::Type{UInt8}, ::Rational{Int64}) ``` ---- `Fixed` supports the conversion from `Rational`, but it overflows too easily. ```julia julia> Q0f7(1//2) ERROR: InexactError: trunc(Int8, 128) ``` https://github.com/JuliaMath/FixedPointNumbers.jl/blob/7ad0f0c460961024191f672332fcf3d7cef655d1/src/fixed.jl#L15
Activity
Add support for `Normed` construction from `Rational` (Fixes #157) (#169