La recherche a retourné 2 résultats

par unixfan
mar. oct. 16, 2012 7:42 pm
Forum : Xcas - English
Sujet : Comparison of real numbers
Réponses : 3
Vues : 7170

Re: Comparison of real numbers

There is a difference between inequality tests and equality tests on symbolic expressions. For the first case, numerical evaluation is done before the test, for the second case the expressions are checked to be identical. That's why exp(-10^10) is neither < nor > to exp(-10^10-1) because they evalf...
par unixfan
mar. oct. 16, 2012 5:38 pm
Forum : Xcas - English
Sujet : Comparison of real numbers
Réponses : 3
Vues : 7170

Comparison of real numbers

Hi! Is giac/xcas able to compare real numbers analytically? I tried this (version 0.9.9): 0>> exp(-10^10)<exp(-10^10-1) 0 // Time 0 1>> exp(-10^10)>exp(-10^10-1) 0 // Time 0 2>> exp(-10^10)==exp(-10^10-1) 0 // Time 0 3>> exp(-10^10)>=exp(-10^10-1) 1 // Time 0 4>> exp(-10^10)<=exp(-10^10-1) 1 // Time...