Hi,
I am experiencing an issue with the latest version when I evaluate a polynomial with BigFloat coefficients at another BigFloat. I isolated a simple example that shows that I get different results if I set the variable c to Float64(0) or BigFloat(0).
julia> using DynamicPolynomials
julia> @polyvar a b c
(a, b, c)
julia> F = BigFloat(5)*a*b*c + BigFloat(1)*a*b^2
5.0abc + ab²
julia> DynamicPolynomials.subs(F, c=>BigFloat(0))
0.0
julia> DynamicPolynomials.subs(F, c=>0.0)
ab²
On the contrary, for the version 0.4.6 of the package I get in both cases ab² as a result.
Are operations with BigFloats not supported ?
Hi, I am experiencing an issue with the latest version when I evaluate a polynomial with BigFloat coefficients at another BigFloat. I isolated a simple example that shows that I get different results if I set the variable
c
toFloat64(0)
orBigFloat(0)
.On the contrary, for the version 0.4.6 of the package I get in both cases
ab²
as a result. Are operations with BigFloats not supported ?Thanks !