JuliaDiff / DualNumbers.jl

Julia package for representing dual numbers and for performing dual algebra
Other
80 stars 30 forks source link

div() and rem() #93

Open githubtomtom opened 2 years ago

githubtomtom commented 2 years ago

now div() and rem() are not supported:

julia> x = Dual(1.1, 2.2);

julia> y = Dual(3.3, 4.4);

julia> div(y, x)
ERROR: MethodError: no method matching div(::Dual128, ::Dual128, ::RoundingMode{:ToZero})

julia> rem(y, x)
ERROR: MethodError: no method matching rem(::Dual128, ::Dual128)

how could we handle these functions? thanks