Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Displaying a smaller number of 0 for a Real call

Suppose I define the function

var('A y')
f(A,x,y)= A*x^.25*y^.25

If I call f(A,x,y), Sagemath returns A*x^.250000000000000*y^.250000000000000. I suppose that is the approximation of reals by defaults. But I would like to know if I can shorten the number of 0.