Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

About long long and long double

Since when have they been part of standard C++? I think long long is a C++0x feature, is that right? What about long double? Was that already in C++98 or C++03?

like image 393
fredoverflow Avatar asked Dec 17 '22 00:12

fredoverflow


1 Answers

Both long double and long long have been around for quite a while, and were standardised in C89 and C99, respectively. C++ standardised long double from its first version, C++98, and will add long long in the upcoming revision to the standard.

like image 73
Marcelo Cantos Avatar answered Dec 24 '22 01:12

Marcelo Cantos