[Rd] R history: Why 'L; in suffix character‘L’ for integer constants?
Dirk Eddelbuettel
edd at debian.org
Sat Jun 17 17:56:05 CEST 2017
On 17 June 2017 at 06:40, Prof Brian Ripley wrote:
| Also, int32_t
|
| - postdates R (it was introduced in C99, a few OSes having it earlier)
| - is optional in the C99 and C11 standards (§7.20.1.1 in C11).
Thanks for the C99 reference. Do you happen to know when it was added to C++?
For the record, it became fairly common with C++ world in the early 'naughts'
to abstract hardware and OS sizes away when more code was going from being
used only on 32-bit OSs to also being used on 64-bit OSs. And being able to
specify the width of integers was a big help for portable code.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-devel
mailing list