Question: inaccuracies i powerFit

I need a power regression function and I need it to be accurate, look what happens

> X := Vector([1, 2, 3, 4, 5, 6], datatype = float);

> Y := Vector([1, 4, 9, 16, 25, 36], datatype = float);
> PowerFit(X, Y, x);

(1.9999999999999998)
(1.0000000000000004) x
> f(x):=1.*x^2.;( using CTRL+L to get the result)

1.9999999999999998
x -> 1.0000000000000004 x  
How can it get this result ? 
Please Wait...