But I've tried to compile my source code with g++ on my FreeBSD, Dev-C++ & VC++ on my Windows, without getting any errors.
Does anyone have a hint?
Your opinion will be appreciated.

[cpp]#include<iostream>
#include<iomanip>
#include<cmath>
#define PI 3.1415926535
using namespace std;
int main(){
double D, V;
long double d;
while(cin >> D >> V){
if(D==0 && V==0) return 0;
d = cbrt( pow(D,3)-6*V/PI );
cout.setf(ios::fixed);
cout << setprecision(3) << d << endl;
}
}[/cpp]