,+Inf)=+Pi/4Atan2(-Inf,+Inf)=-Pi/4Atan2(+Inf,-Inf)=3Pi/4Atan2(-Inf,-Inf)=-3Pi/4Atan2(y,+Inf)=0Atan2(y
cmath>#include<cfloat>intmain(){std::cout<<std::boolalpha<<"isnan(NaN)="<<std::isnan(NAN)<<'\n'<<"isnan(Inf
"cproj(1+2i)=%.1f%+.1fi\n",creal(z1),cimag(z1));doublecomplexz2=cproj(INFINITY+2.0*I);printf("cproj(Inf
isnan(DBL_MIN/2.0)=%d\n",isnan(DBL_MIN/2.0));printf("isnan(0.0/0.0)=%d\n",isnan(0.0/0.0));printf("isnan(Inf-Inf
intmain(){std::cout<<"atan(1)="<<atan(1)<<"4*atan(1)="<<4*atan(1)<<'\n';//specialvaluesstd::cout<<"atan(Inf
double>c3(0,-INFINITY);std::cout<<"proj"<<c3<<"="<<std::proj(c3)<<'\n';} 二次 产出: 二次 proj(1,2)=(1,2)proj(<em>inf</em>
math.h>intmain(void){printf("atan(1)=%f,4*atan(1)=%f\n",atan(1),4*atan(1));//specialvaluesprintf("atan(Inf
=0.1)std::cout<<"normalCDF("<<n<<")"<<100*normalCDF(n)<<"%\n";std::cout<<"specialvalues:\n"<<"erfc(-Inf
0.125)="<<std::cbrt(-0.125)<<'\n';//specialvaluesstd::cout<<"cbrt(-0)="<<std::cbrt(-0.0)<<'\n'<<"cbrt(+inf
1;n+=0.1)printf("normalCDF(%.2f)%5.2f%%\n",n,100*normalCDF(n));puts("specialvalues:");printf("erfc(-Inf
printf("cbrt(-0.125)=%f\n",cbrt(-0.125));//specialvaluesprintf("cbrt(-0)=%f\n",cbrt(-0.0));printf("cbrt(+inf
abs(-3.0)="<<std::abs(-3.0)<<'\n';//specialvaluesstd::cout<<"abs(-0.0)="<<std::abs(-0.0)<<'\n'<<"abs(-Inf