0_0_15279348_26472.cpp: In function 'double GetParacurveLength(double, double, double, double)':
0_0_15279348_26472.cpp:3:13: error: 'sgn' was not declared in this scope
if(sgn(a)==0)
^
0_0_15279348_26472.cpp:5:30: error: 'p' was not declared in this scope
if(sgn(b)==0) return p.r-p.l;
^
0_0_15279348_26472.cpp:6:31: error: 'sqrt' was not declared in this scope
else return sqrt(1+b*b)*(p.r-p.l);
^
0_0_15279348_26472.cpp:6:34: error: 'p' was not declared in this scope
else return sqrt(1+b*b)*(p.r-p.l);
^
0_0_15279348_26472.cpp:9:28: error: 'sqrt' was not declared in this scope
double ffl=sqrt(fl*fl+1),ffr=sqrt(fr*fr+1);
^
0_0_15279348_26472.cpp:10:16: error: 'ffr' was not declared in this scope
return (fr*ffr-fl*ffl+log(fabs(fr+ffr))-log(fabs(fl+ffl)))/(4.0*a);
^
0_0_15279348_26472.cpp:10:42: error: 'fabs' was not declared in this scope
return (fr*ffr-fl*ffl+log(fabs(fr+ffr))-log(fabs(fl+ffl)))/(4.0*a);
^
0_0_15279348_26472.cpp:10:43: error: 'log' was not declared in this scope
return (fr*ffr-fl*ffl+log(fabs(fr+ffr))-log(fabs(fl+ffl)))/(4.0*a);
^
|