[Rd] Where does L come from?

Dirk Eddelbuettel edd @ending from debi@n@org
Sat Aug 25 15:46:17 CEST 2018


On 25 August 2018 at 08:26, Hadley Wickham wrote:
| Would someone mind pointing to me to the inspiration for the use of
| the L suffix to mean "integer"?  This is obviously hard to google for,
| and the R language definition
| (https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Constants)
| is silent.

https://www.geeksforgeeks.org/integer-literal-in-c-cpp-prefixes-suffixes/

https://en.cppreference.com/w/cpp/language/integer_literal

And many similar references if you Google for 'c language integer suffix'

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-devel mailing list