These are chat archives for symengine/symengine
RealDouble, but it is not used. We know that the function is
Sin, but it is not used. Allocating memory for a visitor each call.
Sincan be used if we use the visitor without calling the
eval_mpfras well. How do I add tests for it?
eval_doublehas no support for complex numbers. So we could add a new one like
eval_complex_doublelike Sage which first tries to eval in real numbers and if it cannot in complex numbers. At the moment if it cannot be evaluated in real numbers,
runtime_error, and catching the exception leads to other problems. What's the best way to handle this?