Set the accuracy of a complex number:
Convert approximate numbers to exact rational numbers:
The result has trailing zeros once any hidden digits are exposed:
SetAccuracy does not affect exact powers:
This allows you to, for example, change the accuracy of polynomial coefficients:
Inexact powers are modified:
Special rules may apply to data objects:
For an
InterpolatingFunction object,
SetAccuracy changes the appropriate data only:
It works as an approximate function, but with arithmetic appropriate for the modified data: