) |
sage: R = RealField_decimal(); S = RealField_mpf() sage: R(1) + S(1) 2.0 sage: S(1.1) - R(1.2) -0.0999999999999999111822 sage: R.pi() * S.pi() 9.86965056 sage: R(2)*S(2) 4.0 sage: S(2) / R(3) 0.666666666666666666667 sage: R(2) < S(3) True sage: S(2.99) > R(3) False
Instances of class RealField_decimal also have the following special functions:
__call__,
__cmp__
See About this document... for information on suggesting changes.