I believe it uses round-to-even, but note that the rounding is done in
base-2, not base-10. If you're worried about the rounding, you can
evaluate the number to more digits using evalf() to see exactly how it
rounded.
If you want to use a specific base-10 rounding mode, I believe
currently the only way is to get a float with sufficient digits from
evalf() then use the methods in the standard library decimal module.
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sympy+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/aa33ca28-6a88-44f8-b872-9fa6717eb22cn%40googlegroups.com.