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.

DescriptionIEC 60559 mathlibrary behaviorPortabilityhypotf compute the square root of the sum of the squares of x and y, sqrtf(x*x + y*y),without undue overflow or underflow. If x and y are the lengths of the sides of a rightangledtriangle, then hypotf computes the length of the hypotenuse..If x or y is +Infinity or -Infinity, hypotf returns Infinity.If x or y is NaN, hypotf returns NaN.hypotf con<strong>for</strong>ms to ISO/IEC 9899:1999 (C99).isfiniteSynopsisDescriptionFast math librarybehaviorPortability#include int isfinite(floating-type x);isfinite determines whether x is a fiinite value (zero, subnormal, or normal, and notinfinite or NaN). The isfinite macro returns a non-zero value if and only if its argumenthas a finite value.As the fast math library does not support NaN and infinite values, isfinite alwaysreturns a non-zero value.isfinite con<strong>for</strong>ms to ISO/IEC 9899:1999 (C99).isinfSynopsisDescriptionPortability#include int isinf(floating-type x);isinf determines whether its argument value is an infinity (positive or negative). Thedetermination is based on the type of the argument.isinf confirms to ISO/IEC 9899:1999 (C99).isnanSynopsisDescriptionPortability#include int isnan(floating-type x);isnan determines whether its argument value is a NaN. The determination is based onthe type of the argument.isnan confirms to ISO/IEC 9899:1999 (C99).Chapter 28 - Mathematics267

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

Saved successfully!

Ooh no, something went wrong!