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.

Floating-Point Remainder<br />

fmod<br />

Syntax #include <br />

Defined in<br />

double fmod(x, y)<br />

double x, Yi<br />

fmod. obj in rts .lib<br />

Description The fmod function returns the floating-point remainder of x divided by y.<br />

If y=O, the function returns O.<br />

Exalnple<br />

double x, y, ri<br />

x 11. 0 i<br />

Y 5.0;<br />

r = fmod(x, y); /* fmod returns 1.0 */<br />

6-39

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

Saved successfully!

Ooh no, something went wrong!