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.

IEC 60559 mathlibrary behaviorPortabilityIf x is NaN, expf returns NaN.If x is Infinity, expf returns InfinityIf x is -Infinity, expf returns 0.expf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).fabsSynopsis#include double fabs(double x);Description fabs computes the absolute value of the floating-point number x.Portabilityfabs con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).fabsfSynopsis#include float fabs(float x);Description fabsf computes the absolute value of the floating-point number x.Portabilityfabsf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).floorSynopsis#include double floor(double x);Description floor computes the largest integer value not greater than x.IEC 60559 mathlibrary behaviorPortabilityfloor(0) is0.floor(Infinity) is Infinity.floor con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).floorfSynopsis#include double floor(double x);Description floorf computes the largest integer value not greater than x.IEC 60559 mathlibrary behaviorPortabilityfloorf(0) is0.floorf(Infinity) is Infinity.floorf con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).Chapter 28 - Mathematics263

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

Saved successfully!

Ooh no, something went wrong!