10.12.2012 Views

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

Oracle C++ Call Interface Programmer's Guide

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.

Number Class<br />

nu4 = nu1 + nu2;<br />

/* Comparison operators */<br />

if(nu1>nu2)<br />

.<br />

.<br />

.<br />

else if(nu1 == nu2)<br />

.<br />

.<br />

.<br />

Summary of Number Methods<br />

Table 8–14 Number Methods<br />

Method Summary<br />

abs() on page 8-107 Return the absolute value of the number.<br />

arcCos() on page 8-107 Return the arcCosine of the number.<br />

arcSin() on page 8-107 Return the arcSine of the number.<br />

arcTan() on page 8-107 Return the arcTangent of the number.<br />

arcTan2() on page 8-108 Return the arcTangent2 of the input number y and this<br />

number x.<br />

ceil() on page 8-108 Return the smallest integral value not less than the<br />

value of the number.<br />

cos() on page 8-108 Return the cosine of the number.<br />

exp() on page 8-108 Return the natural exponent of the number.<br />

floor() on page 8-109 Return the largest integral value not greater than the<br />

value of the number.<br />

fromBytes() on page 8-109 Return a Number derived from a Bytes object.<br />

fromText() on page 8-109 Return a Number from a given number string , format<br />

string and nls parameters specified.<br />

hypCos() on page 8-110 Return the hyperbolic cosine of the number.<br />

hypSin() on page 8-110 Return the hyperbolic sine of the number.<br />

hypTan() on page 8-110 Return the hyperbolic tangent of the number.<br />

intPower() on page 8-110 Return the number raised to the integer value specified.<br />

8-104 <strong>Oracle</strong> <strong>C++</strong> <strong>Call</strong> <strong>Interface</strong> Programmer’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!