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.

sinSynopsis#include double sin(double x);Description sin returns the radian circular sine of x.Fast math librarybehaviorIEC 60559 mathlibrary behaviorPortabilityIf |x| > 10^9, errno (page 247) is set to EDOM and sin returns HUGE_VAL.sin returns x if x is NaN.sin returns NaN with invalid signal if |x| is Infinity.sin con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).sinfSynopsis#include float sinf(float x);Description sinf returns the radian circular sine of x.Fast math libraryspecial casesIEC 60559 mathlibrary special casesPortabilityIf |x| > 10^9, errno (page 247) is set to EDOM and sin returns HUGE_VALF.sinf returns x if x is NaN.sinf returns NaN with invalid signal if |x| is Infinity.sinf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).sinhSynopsis#include double sinh(double x);Description sinh calculates the hyperbolic sine of x.Fast math librarybehaviorIEC 60559 mathlibrary behaviorPortabilityIf |x| >~ 709.782, errno (page 247) is set to EDOM and sinh returns HUGE_VAL.If x is +Infinity, -Infinity, or NaN, sinh returns |x|.If |x| >~ 709.782, sinh returns +Infinity or -Infinity depending upon the sign of x.sinh con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).Chapter 28 - Mathematics273

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

Saved successfully!

Ooh no, something went wrong!