> Help Needed in python code?

Help Needed in python code?

Posted at: 2014-12-18 
Hello ,

I wanted to use the "solve" option of sympy in my code and it was working fine...but yesterday i found something ....it is not able to handle big numbers like "5.52342700000000e-67" but can handle numbers like "5.52342700000000e-21"..(notice the "67" and "21")......when i ran the following code ..

import sympy

number = 5.52342700000000e-21;

f = sympy.Symbol('f');

answer = solve(Eq(f,number),f);

...it gives me the output as 5.52342700000000e-21 .....which is expected ...

but when i substitute 5.52342700000000e-67 as "number " and run the code ...

it returns the answer as 0 ...what is going on ? is sympy incapable of handling such numbers ?

please reply fast

thanks in advance