11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User 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.

log10Synopsis#include double log10(double x);Description log10 computes the base-10 logarithm of x.Fast math librarybehaviorIEC 60559 mathlibrary behaviorPortabilityIf x = 0, errno is set to ERANGE and log10 returns -HUGE_VAL.If x < 0, errno is set to EDOM and log10 returns -HUGE_VAL.If x < 0 or x = -Infinity, log10 returns NaN with signal.If x = 0, log10 returns -Infinity with signal.If x = Infinity, log10 returns Infinity.If x = NaN, log10 returns x with no signal.log10 con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).log10fSynopsis#include float log10f(float x);Description log10f computes the base-10 logarithm of x.Fast math librarybehaviorIEC 60559 mathlibrary behaviorPortabilityIf x = 0, errno is set to ERANGE and log10f returns -HUGE_VALF.If x < 0, errno is set to EDOM and log10f returns -HUGE_VALF.If x < 0 or x = -Infinity, log10f returns NaN with signal.If x = 0, log10f returns -Infinity with signal.If x = Infinity, log10f returns Infinity.If x = NaN, log10f returns x with no signal.log10f con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).logfSynopsis#include float logf(float x);Description logf computes the base-e logarithm of x.Fast math librarybehaviorIf x = 0, errno is set to ERANGE and logf returns -HUGE_VALF.If x < 0, errno is set to EDOM and logf returns -HUGE_VALF.Chapter 28 - Mathematics269

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

Saved successfully!

Ooh no, something went wrong!