13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset 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.

Librariescopysign(double d,double s) Copies the sign of the second argument s to the value of the firstargument d and returns the result.isinff(float f)isinf(double d);isfinitef(float f)isfinite(double d)isnanf(float f)isnan(double d)scalbf(float f,int p)scalb(double d,int p)13.2.10. inttypes.h and stdint.hTest the variable f on being an infinite (IEEE-754) value.Test the variable d on being an infinite (IEEE-754) value.Test the variable f on being a finite (IEEE-754) value.Test the variable d on being a finite (IEEE-754) value.Test the variable f on being NaN (Not a Number, IEEE-754) .Test the variable d on being NaN (Not a Number, IEEE-754) .Returns f * 2^p <strong>for</strong> integral values without computing 2^N.Returns d * 2^p <strong>for</strong> integral values without computing 2^N. (Seealso scalbn in Section 13.2.16, math.h and tgmath.h)The header files stdint.h and inttypes.h provide additional declarations <strong>for</strong> integer types and havevarious characteristics. The stdint.h header file contains basic definitions of integer types of certainsizes, and corresponding sets of macros. This header file clearly refers to the corresponding sections inthe ISO C99 standard.The inttypes.h header file includes stdint.h and adds portable <strong>for</strong>matting and conversion functions.Below the conversion functions from inttypes.h are listed.imaxabs(intmax_t j)imaxdiv(intmax_t numer,intmax_t denom)strtoimax(const char *restrict nptr, char **restrict endptr, int base)strtoumax(const char *restrict nptr, char **restrict endptr, int base)wcstoimax(const wchar_t *restrict nptr, wchar_t **restrict endptr, int base)wcstoumax(const wchar_t *restrict nptr, wchar_t **restrict endptr, int base)Returns the absolute value of jComputes numer/denomand numer % denom.The result is storedin the quot and rem components of the imaxdiv_t structure type.Convert string to maximum sized integer. (Compare strtoll)Convert string to maximum sized unsigned integer. (Comparestrtoull)Convert wide string to maximum sized integer. (Compare wcstoll)Convert wide string to maximum sized unsigned integer. (Comparewcstoull)13.2.11. io.hThe header file io.h contains prototypes <strong>for</strong> low level I/O functions. This header file is not defined in ISOC99._close(fd)Used by the functions close and fclose. (FSS implementation)747

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

Saved successfully!

Ooh no, something went wrong!