if IFS= read -r -d $'\n' path; then { echo "$path"; cat; } | xargs $@ fi}git diff --name-only --cached
<stdio.h>#include<complex.h>intmain(void){doublecomplexz=cpow(1.0+2.0*I,2);printf("(1+2i)^2=%.1f%+.1fi
GCC提供了一个不可移植的扩展,允许用整数文字后缀i指定虚数常量:1.0fi,1.0i和1.0li是GNUC中的虚数单元。
Removesfirstelementfor(auton:l)std::cout<<n<<"";std::cout<<'\n';autofi=std::next(l.begin());autola=std::next(fi
include<math.h>#include<complex.h>intmain(void){doublecomplexz=clog(I);//r=1,θ=pi/2printf("2*log(i)=%.1f%+fi
>#include<math.h>#include<complex.h>intmain(void){doublecomplexz=casin(-2);printf("casin(-2+0i)=%f%+fi
include<float.h>#include<complex.h>intmain(void){doublecomplexz=catan(2*I);printf("catan(+0+2i)=%f%+fi
include<complex.h>#include<math.h>intmain(void){doublecomplexz1=cproj(1+2*I);printf("cproj(1+2i)=%.1f%+.1fi
canbeusedtoconstructacomplexnumberdoublecomplexz=1.0+2.0*_Complex_I;printf("1.0+2.0*_Complex_I=%.1f%+.1fi
include<stdio.h>#include<complex.h>intmain(void){doublecomplexz=cacosh(0.5);printf("cacosh(+0.5+0i)=%f%+fi