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.2ceil()Return the ceiling of self.EXAMPLES:sage: RDF(2.99).ceil()3sage: RDF(2.00).ceil()2sage: RDF(-5/2).ceil()-2ceiling()Return the ceiling of self.EXAMPLES:sage: RDF(2.99).ceil()3sage: RDF(2.00).ceil()2sage: RDF(-5/2).ceil()-2conjugate()Returns the complex conjugate of this real number, which is the real number itself.EXAMPLES:sage: RDF(4).conjugate()4.0cos()Return the cosine of self.EXAMPLES:sage: t=RDF.pi()/2sage: t.cos()6.12323399574e-17cosh()Return the hyperbolic cosine of self.EXAMPLES:sage: q = RDF.pi()/12sage: q.cosh()1.0344656401coth()Return the hyperbolic cotangent of self.EXAMPLES:sage: RDF(pi).coth()1.0037418732sage: CDF(pi).coth()1.0037418732csch()Return the hyperbolic cosecant of self.6 Chapter 1. Double <strong>Precision</strong> Real Numbers

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

Saved successfully!

Ooh no, something went wrong!