Open JeffreySarnoff opened 7 months ago
maybe as a workaround
Base.rem(x::Real, ::Type{BFloat16}) = BFloat16(x)
I don't think Julia's rem allows rem(::Real, ::Type{AbstractFloat}), it should be defined only for Integer types.
rem
rem(::Real, ::Type{AbstractFloat})
maybe as a workaround