I've started to learn C++ with Stroustrup's C++ programming book - data types. It says that for floating point types language have float, double, long double types. But this program runs good for me:
long float float2{ 5.0F };
cout << float2 << endl;
cout << "size of long float: " << sizeof(long float) << endl; // 8
std::cout << "min long float value: " << (long float)std::numeric_limits<long float>::min() << std::endl; // 2.22507e-308
std::cout << "max long float value: " << (long float)std::numeric_limits<long float>::max() << std::endl << std::endl; // 1.79769e+308
i.e. the same as double. So what's the difference? As far as I knew before there's no such type - long float. Is it the microsoft compiler feature? Is it a new standard?