Dear maxima users
Why don't both expressions simplify to zero?
(%i1) sqrt(0.1)-sqrt(1/10);
(%o1) .3162277660168379-1/sqrt(10)
(%i2) 0.1^0.5-(1/10)^0.5;
(%o2) 0.0
Manual:
Function: SQRT (X)
the square root of X. It is represented internally by X^(1/2). Also see ROOTSCONTRACT. RADEXPAND[TRUE] - if TRUE will cause nth roots of factors of a product which are powers of n to be pulled outside of the radical, e.g. SQRT(16*X^2) will become 4*X only if RADEXPAND is TRUE.
Maxima version: 5.21.1
Maxima build date: 16:28 5/16/2010
Host type: i686-apple-darwin10.3.0
Lisp implementation type: SBCL
Lisp implementation version: 1.0.38