1 | initial version |
I did not check further, but i would say that the plot
function is using matplotlib and that the latter uses double floating-point numbers (with 53 bits of precision). So, what i temporarly suggest is to shift your finction as follow to get more precision:
sage: ff(x) = f(x)-2.97919787636599e7
sage: g = fast_callable(ff, vars=[x], domain=R)
sage: plot( g, (x,0,2))
This solution is not completely satisfactory, but at least, you will get something much rounder.
2 | No.2 Revision |
I did not check further, but i would say that the plot
function is using matplotlib and that the latter uses double floating-point numbers (with 53 bits of precision). So, what i temporarly suggest is to shift your finction as follow to get more precision:
sage: ff(x) = f(x)-2.97919787636599e7
sage: g = fast_callable(ff, vars=[x], domain=R)
sage: plot( g, (x,0,2))
This workaround solution is not completely satisfactory, but at least, you will get something much rounder.rounder: