11.07.2015 Views

Fixed and Arbitrary Precision Numerical Fields - Sage

Fixed and Arbitrary Precision Numerical Fields - Sage

Fixed and Arbitrary Precision Numerical Fields - Sage

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Sage</strong> Reference Manual: <strong>Fixed</strong> <strong>and</strong> <strong>Arbitrary</strong> <strong>Precision</strong> <strong>Numerical</strong> <strong>Fields</strong>, Release 6.2sage: q = RR.pi()/7sage: i = q.sinh() ; i0.464017630492991sage: i.arcsinh() - q0.000000000000000arctan()Return the inverse tangent of self.EXAMPLES:sage: q = RR.pi()/5sage: i = q.tan()sage: i.arctan() == qTruearctanh()Return the hyperbolic inverse tangent of self.EXAMPLES:sage: q = RR.pi()/7sage: i = q.tanh() ; i0.420911241048535sage: i.arctanh() - q0.000000000000000ceil()Return the ceiling of self.EXAMPLES:sage: (2.99).ceil()3sage: (2.00).ceil()2sage: (2.01).ceil()3sage: ceil(10^16 * 1.0)10000000000000000sage: ceil(10^17 * 1.0)100000000000000000sage: ceil(RR(+infinity))Traceback (most recent call last):...ValueError: Calling ceil() on infinity or NaNceiling()Return the ceiling of self.EXAMPLES:sage: (2.99).ceil()3sage: (2.00).ceil()2sage: (2.01).ceil()336 Chapter 2. <strong>Arbitrary</strong> <strong>Precision</strong> Real Numbers

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!