I try to initialize a long double with the following:
using namespace std;
int main(){
long double initial = 0.9999952L;
cout << initial << endl;
return 0;
}
But I get the following output:
C:\MinGW\bin>a.exe
-1.#QNAN
What is the appropriate way to intialize a long double?