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.

Portabilitysqrtf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99) except in thecase of domain errors.tanSynopsis#include double tan(double x);Description tan returns the radian circular tangent of x.Fast math librarybehaviourIEC 60559 mathlibrary behaviourPortabilityIf |x| > 10^9, errno (page 247) is set to EDOM and tan returns HUGE_VAL.If x is NaN, tan returns x.If |x| is Infinity, tan returns NaN with invalid signal.tan con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).tanfSynopsis#include float tanf(float x);Description tanf returns the radian circular tangent of x.Fast math libraryspecial casesIEC 60559 mathlibrary special casesPortabilityIf |x| > 10^9, errno is set to EDOM and tanf returns HUGE_VALF.If x is NaN, tanf returns x.If |x| is Infinity, tanf returns NaN with invalid signal.tanf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).tanhSynopsis#include double tanh(double x);Description tanh calculates the hyperbolic tangent of x.IEC 60559 mathlibrary behaviorPortabilityIf x is NaN, tanh returns NaN.tanh con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).Chapter 28 - Mathematics275

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

Saved successfully!

Ooh no, something went wrong!