fredoverflow
fredoverflow

Reputation: 263118

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?

Upvotes: 4

Views: 2674

Answers (1)

Marcelo Cantos
Marcelo Cantos

Reputation: 185852

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.

Upvotes: 12

Related Questions