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.

sign()<br />

sin()<br />

sqareroot()<br />

tan()<br />

toBytes()<br />

Number Class<br />

This method returns the sign of the value of the Number object. If the Number object<br />

is negative, then -1 is returned. If the Number object is equal to 0, then 0 is returned.<br />

If the Number object is positive, then 1 is returned.<br />

Syntax<br />

const int sign() const;<br />

This method returns the sin of the Number object.<br />

Syntax<br />

const Number sin();<br />

This method returns the square root of the Number object.<br />

Syntax<br />

const Number squareroot() const;<br />

This method returns the tangent of the Number object.<br />

Syntax<br />

const Number tan() const;<br />

This method converts the Number object into a Bytes object. The bytes<br />

representation is assumed to be in length excluded format, that is, the<br />

Byte.length() method gives the length of valid bytes and the 0th byte is the<br />

exponent byte.<br />

OCCI Classes and Methods 8-123

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

Saved successfully!

Ooh no, something went wrong!