11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

IEC 60559 mathlibrary behaviorPortabilityIf x < 0 or x = -Infinity, logf returns NaN with signal.If x = 0, logf returns -Infinity with signal.If x = Infinity, logf returns Infinity.If x = NaN, logf returns x with no signal.logf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).modfSynopsisDescriptionPortability#include double modf(double x, double *iptr);modf breaks x into integral and fractional parts, each of which has the same type andsign as x.The integral part (in floating-point <strong>for</strong>mat) is stored in the object pointed to by iptr andmodf returns the signed fractional part of x.modf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).modffSynopsisDescriptionPortability#include float modff(float x, double *iptr);modff breaks x into integral and fractional parts, each of which has the same type andsign as x.The integral part (in floating-point <strong>for</strong>mat) is stored in the object pointed to by iptr andmodff returns the signed fractional part of x.modff con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).powSynopsis#include double pow(double x, double y);Description pow computes x raised to the power y.Fast math librarybehaviorIEC 60559 mathlibrary behaviorIf x < 0 and y

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

Saved successfully!

Ooh no, something went wrong!