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.

frexp stores power of two in the int object pointed to by exp and returns the value x,such that x has a magnitude in the interval [1/2, 1) or zero, and value equals x * 2^exp.If x is zero, both parts of the result are zero.IEC 60559 mathlibrary behaviorPortabilityIf x is Infinity or NaN, frexp returns x and stores zero into the int object pointed to byexp.frexp con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).frexpfSynopsisDescriptionIEC 60559 mathlibrary behaviorPortability#include float frexp(float x, int *exp);frexpf breaks a floating-point number into a normalized fraction and an integral powerof 2.frexpf stores power of two in the int object pointed to by exp and returns the value x,such that x has a magnitude in the interval [1/2, 1) or zero, and value equals x * 2^exp.If x is zero, both parts of the result are zero.If x is Infinity or NaN, frexpf returns x and stores zero into the int object pointed to byexp.frexpf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).hypotSynopsisDescriptionIEC 60559 mathlibrary behaviorPortability#include double hypot(double x, double y);hypot compute the square root of the sum of the squares of x and y, sqrt(x*x + y*y),without undue overflow or underflow. If x and y are the lengths of the sides of a rightangledtriangle, then hypot computes the length of the hypotenuse..If x or y is +Infinity or -Infinity, hypot returns Infinity.If x or y is NaN, hypot returns NaN.hypot con<strong>for</strong>ms to ISO/IEC 9899:1999 (C99).hypotfSynopsis#include float hypotf(float x, float y);266 Chapter 28 Standard C Library Reference

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

Saved successfully!

Ooh no, something went wrong!