⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cxtest.txt

📁 复数运算库
💻 TXT
字号:
begin unary tests1.25607e-15check pow(CX, int) against pow(CX, Real)003.15541e-152.80649e-152.05332e-151.84394e-151.19854e-151.494e-151.57756e-151.04772e-155.79216e-168.28261e-163.05187e-161.53134e-1601.71427e-163.30649e-167.83025e-166.3308e-161.10824e-151.53972e-151.61139e-151.24911e-151.9669e-152.20173e-152.80618e-153.06862e-1500check pow(Imag, int) against pow(Imag, Real)1.60569e-151.51698e-151.52078e-151.78404e-151.32108e-151.13351e-159.70923e-168.78508e-167.2757e-166.44821e-165.03404e-163.69233e-162.40747e-161.17737e-1601.1266e-162.20433e-163.23504e-165.19511e-167.07023e-167.91969e-168.73067e-161.03946e-151.11091e-151.26378e-151.83662e-151.46666e-151.47072e-151.57296e-15check pow(Polar, int) against pow(Polar, Real)3.54504e-152.77987e-153.18081e-152.21491e-151.9359e-152.0088e-151.40929e-151.7663e-151.59844e-151.00511e-156.71387e-168.04847e-163.49246e-161.7053e-1601.43911e-163.17637e-168.26317e-166.05845e-169.89637e-161.61625e-151.75068e-151.19386e-151.84886e-152.05994e-152.24235e-153.18229e-152.78419e-153.53992e-15spot check pow(CX, Real)1.23384e-163.30649e-161.53134e-16check ipow(Real, int) against pow(Real, Real)005.9992e-165.68345e-165.31785e-164.1983e-164.41927e-163.87655e-163.26446e-162.57721e-161.80857e-169.51877e-171.00198e-16000001.1649e-169.91405e-179.62965e-171.58981e-161.83341e-162.1758e-163.01497e-162.78519e-163.43056e-1600check exponential for complex01.62692e-16check exponential for imaginary01.24127e-16check log for complex and polar4.96507e-161.71427e-16check log for imaginary1.1266e-16check sin, cos, tan for complex3.08998e-141.35403e-163.10082e-14check sin, cos, tan for imaginary2.13588e-141.03669e-162.14672e-14check sinh, cosh, tanh for complex3.08998e-141.35403e-163.10082e-14check sinh, cosh, tanh for imaginary1.12187e-168.58536e-171.12187e-16check sqrt for complex and polar1.26161e-161.91948e-16check sqrt for imag1.11022e-16check square for complex and polar001.97373e-16check sum_square for complex and polar001.8886e-16check square and sum_square for imaginary00check operator+ and operator- for complex and polar001.0239e-1601.0239e-16check real, imag, conj for complex and polar001.11022e-161.11022e-16check real, imag, conj for imaginary000check arg for complex and polar01.09184e-16check arg for imaginary0check fabs and cabs for complex and polar0001.77636e-15check fabs and cabs for imaginary00check norm1 for complex0check polar constructor1.45043e-161.41451e-15check polar variables access0check imag_as_imag008.88178e-16check imag_as_imag global function008.88178e-16end unary testsbegin binary tests4.96507e-164.96507e-16check complex op complex003.97205e-159.93014e-16check complex op real, real op complex00000004.44089e-16check complex op imag, imag op complex00000004.44089e-16check complex op _I_, _I_ op complex00000005.55112e-17check real op imag, imag op real00000000check imag op imag0000check imag op _I_, _I_ op imag00000000check real op _I_, _I_ op real00000000check polar op polar1.98603e-151.98603e-157.10543e-159.93014e-16check complex op Polar, Polar op complex9.93014e-169.93014e-169.93014e-169.93014e-16check imag op Polar, Polar op imag9.15513e-169.15513e-169.15513e-169.15513e-163.58036e-153.58036e-159.93014e-164.44089e-16check real op Polar, Polar op real9.15513e-169.15513e-169.15513e-169.15513e-163.58036e-153.58036e-159.93014e-164.44089e-16check imag op Polar, Polar op imag6.28037e-166.28037e-166.28037e-166.28037e-164.96507e-164.96507e-164.96507e-161.57009e-16check complex op= complex0000check complex op= real0000check complex op= imag0000check complex op= imag0000check complex op= _I_0000check complex op= polar9.93014e-169.93014e-163.97205e-159.44183e-16check imag op= imag00check imag op= real00check polar op= polar1.98603e-151.98603e-157.10543e-159.93014e-16check polar op= complex1.98603e-151.98603e-157.10543e-159.93014e-16check polar op= real9.93014e-169.93014e-163.58036e-159.93014e-16check polar op= imag9.93014e-169.93014e-163.58036e-159.93014e-16check polar op= imag8.88178e-168.88178e-164.96507e-164.96507e-16check complex ==, != complextest passescheck polar ==, != polartest passeseq = 121;  neq = 14520check complex ==, != imagtest passeseq = 121;  neq = 14520check imag ==, != complextest passeseq = 121;  neq = 14520check complex ==, != realtest passeseq = 121;  neq = 14520check real ==, != complextest passeseq = 121;  neq = 14520check imag ==, != realtest passeseq = 121;  neq = 14520check real ==, != imagtest passeseq = 121;  neq = 14520check polar ==, != imagtest passeseq = 121;  neq = 14520check imag ==, != polartest passeseq = 121;  neq = 14520check polar ==, != realtest passeseq = 121;  neq = 14520check real ==, != polartest passeseq = 121;  neq = 14520check complex ==, != _I_ (both directions)test passeseq = 121;  neq = 14520check polar ==, != _I_ (both directions)test passeseq = 121;  neq = 14520check real ==, != _I_ (both directions)test passeseq = 0;  neq = 14641check imag ==, != _I_ (both directions)test passeseq = 1331;  neq = 13310check pow(CX, CX), pow(Polar, CX)02.11056e-159.5641e-17check pow(Real, CX), pow(Imag, CX)1.8869e-151.00614e-15check pow(CX, Real), pow(Polar, Real), pow(CX, Imag), pow(Polar, Imag)006.88853e-169.84671e-16check pow(Imag, Complex)1.00614e-15check pow(Real, Imag), pow(Imag, Imag)2.51941e-162.40055e-16end binary testsmaximum from cxtest1: 3.10082e-14maximum from cxtest2: 7.10543e-15

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -