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.

Description ldiv_t stores the quotient and remainder returned by ldiv (page 299).Portabilityldiv_t con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).See also ldiv (page 299)lldivSynopsisDescription#include lldiv_t lldiv(long long int numer, long long int denom);lldiv computes numer / denom and numer % denom in a single operation.lldiv returns a structure of type lldiv_t (page 300) comprising both the quotient andthe remainder. The structures contain the members quot (the quotient) and rem (theremainder), each of which has the same type as the arguments numer and denom. Ifeither part of the result cannot be represented, the behavior is undefined.Portabilitylldiv con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).See also lldiv_t (page 300)lldiv_tSynopsis#include typedef struct{long long int quot;long long int rem;} lldiv_t;Description lldiv_t stores the quotient and remainder returned by lldiv (page 300).Portabilitylldiv_t con<strong>for</strong>ms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).See also lldiv (page 300)lltoaSynopsisDescription#include char *lltoa(long long val, char *buf, int radix);lltoa converts val to a string in base radix and places the result in buf.lltoa returns buf as the result.If radix is greater than 36, the result is undefined.300 Chapter 28 Standard C Library Reference

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

Saved successfully!

Ooh no, something went wrong!