11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Library FunctionsLDEXPSynopsis#include double ldexp (double f, int i)DescriptionThe ldexp() function performs the inverse of frexp() operation; the integer i is added to the exponentof the floating point f and the resultant returned.Example#include #include voidmain (void){double f;}f = ldexp(1.0, 10);printf("1.0 * 2^10 = %f\n", f);See Alsofrexp()Return ValueThe return value is the integer i added to the exponent of the floating point value f.156

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

Saved successfully!

Ooh no, something went wrong!