symengine / SymEngine.jl

Julia wrappers of SymEngine
MIT License
192 stars 43 forks source link

handle conversion of NAN, oo #271

Open jverzani opened 8 months ago

jverzani commented 8 months ago

Currently evalf doesn't handle oo or nan gracefully. This adds a special case for !isfinite and expands the conversion of N, which was incorrect on N(-oo). Maybe this is better done in symengine proper?