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.

sinhfSynopsis#include float sinhf(float x);Description sinhf calculates the hyperbolic sine of x.Fast math librarybehaviorIEC 60559 mathlibrary behaviorPortabilityIf |x| >~ 88.7228, errno (page 247) is set to EDOM and sinhf returns HUGE_VALF.If x is +Infinity, -Infinity, or NaN, sinhf returns |x|.If |x| >~ 88.7228, sinhf returns +Infinity or -Infinity depending upon the sign of x.sinhf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).sqrtSynopsisDescription#include double sqrt(double val);sqrt computes the nonnegative square root of val. C90 and C99 require that a domainerror occurs if the argument is less than zero. <strong>CrossWorks</strong> C deviates and always usesIEC 60559 semantics.Special cases If val is +0, sqrt returns +0.If val is -0, sqrt returns -0.If val is Infinity, sqrt returns Infinity.If val < 0, sqrt returns NaN with invalid signal.If val is NaN, sqrt returns that NaN with invalid signal <strong>for</strong> signaling NaN.Portabilitysqrt con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99) except in thecase of domain errors.sqrtfSynopsisDescription#include float sqrtf(float val);sqrtf computes the nonnegative square root of val. C90 and C99 require that a domainerror occurs if the argument is less than zero. <strong>CrossWorks</strong> C deviates and always usesIEC 60559 semantics.Special cases If val is +0, sqrt returns +0.If val is -0, sqrt returns -0.If val is Infinity, sqrt returns Infinity.If val < 0, sqrt returns NaN with invalid signal.If val is NaN, sqrt returns that NaN with invalid signal <strong>for</strong> signaling NaN.274 Chapter 28 Standard C Library Reference

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

Saved successfully!

Ooh no, something went wrong!