3e4 in sympy pretty printing is output as a decimal number. At somewhere 
greater that 10^10 pretty printing switches to scientific notation with a • 
in sympy.

In the code cells I insist on using * for multiplication to avoid any 
questions about implicit multiplication and multi-character variable names. 
I think I will continue to do that.

Entering 3.2e4 as (3.2*10**4) also works. If you are running with integer 
recognition and the mantissa is entered as an integer the value will be 
treated as an integer in the case where you write it out.

Jonathan

On Monday, July 3, 2023 at 11:05:27 AM UTC-5 [email protected] wrote:

I mean 3e4 looks very confusing in an algebraic expression, and if you 
permit implicit multiplication as in hand algebra it is ambiguous. Anyway 
performing algebra with expressions containing real numbers is decidedly 
dangerous. 

Davis

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c6a37e91-c508-4380-a80b-ef28ae6c4928n%40googlegroups.com.

Reply via email to