How would you count small numbers like 1.1e-30. Is that 1 digit or 31
digits after the decimal?

Aaron Meurer

On Thu, Apr 15, 2021 at 2:31 PM Paul Royik <distantjob...@gmail.com> wrote:
>
> Rational(1,2).evalf(), how do I get 1 here (since 0.5 has 1 digit after the 
> dot)?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sympy/73ee2ab4-7b12-4938-a1ed-079b3a33fc14n%40googlegroups.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KYUBrcte2ZbA5fku46Dp4P6Gb65fwmrRgwi3ua8w2TJQ%40mail.gmail.com.

Reply via email to