17.05.2015 Views

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

TMS34010 C Compiler - Al Kossow's Bitsavers

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.

Raise to· a Power<br />

pow<br />

Syntax #include <br />

Defined in<br />

Description<br />

double pow(x , y)<br />

double X, Yi /* Raise x to power Y */<br />

pow. obj in rts .lib<br />

The pow function returns x raised to the power y. A domain error occurs<br />

if x=o and ySO, or if x is negative and y is not an integer. A range error<br />

may occur.<br />

Example double x I y I Z;<br />

x 2.0;<br />

Y 3.0;<br />

Z = pow(x , y); /* return value 8.0 */<br />

6-59

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

Saved successfully!

Ooh no, something went wrong!