This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: itoa and C++11 std::string


Hi Stefan,

> -- Use the largest available integer type

Using long long isn't very good in terms of code size for 16-bit targets.

I'd suggest implementing lltoa/ulltoa, as found on other targets, and leaving itoa for int.

Cheers,
Jon



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]