[Rd] R history: Why 'L; in suffix character ‘L’ for integer constants?

Serguei Sokol sokol at insa-toulouse.fr
Fri Jun 16 18:00:09 CEST 2017


Le 16/06/2017 à 17:54, Henrik Bengtsson a écrit :
> I'm just curious (no complaints), what was the reason for choosing the
> letter 'L' as a suffix for integer constants?  Does it stand for
> something (literal?), is it because it visually stands out, ..., or no
> specific reason at all?
My guess is that it is inherited form C "long integer" type (contrary to "short integer" or simply "integer")
https://en.wikipedia.org/wiki/C_data_types



More information about the R-devel mailing list