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

📄 libm-test-ulps

📁 glibc 2.9,最新版的C语言库函数
💻
📖 第 1 页 / 共 2 页
字号:
ifloat: 1# log1pTest "log1p (-0.3) == -0.35667494393873237891263871124118447":double: 1float: 1idouble: 1ifloat: 1# log2Test "log2 (0.7) == -0.51457317282975824043":double: 1float: 1idouble: 1ifloat: 1# sincosTest "sincos (0.7, &sin_res, &cos_res) puts 0.76484218728448842626 in cos_res":double: 1float: 1idouble: 1ifloat: 1Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":double: 1float: 0.5idouble: 1ifloat: 0.5Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.866025403784438646764 in sin_res":double: 1float: 1idouble: 1ifloat: 1Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res":double: 0.2758float: 0.3667idouble: 0.2758ifloat: 0.3667Test "sincos (pi/6, &sin_res, &cos_res) puts 0.866025403784438646764 in cos_res":float: 1ifloat: 1# sinhTest "sinh (0.7) == 0.75858370183953350346":double: 1float: 1idouble: 1ifloat: 1# tanTest "tan (pi/4) == 1":double: 0.5idouble: 0.5# tanhTest "tanh (0.7) == 0.60436777711716349631":double: 1float: 1idouble: 1ifloat: 1# tgammaTest "tgamma (-0.5) == -2 sqrt (pi)":double: 1float: 1idouble: 1ifloat: 1Test "tgamma (0.5) == sqrt (pi)":float: 1ifloat: 1Test "tgamma (0.7) == 1.29805533264755778568117117915281162":double: 1float: 1idouble: 1ifloat: 1# y0Test "y0 (0.7) == -0.19066492933739506743":double: 2float: 1idouble: 2ifloat: 1Test "y0 (1.0) == 0.088256964215676957983":double: 2float: 1idouble: 2ifloat: 1Test "y0 (1.5) == 0.38244892379775884396":double: 2float: 1idouble: 2ifloat: 1Test "y0 (10.0) == 0.055671167283599391424":float: 1ifloat: 1Test "y0 (8.0) == 0.22352148938756622053":double: 1float: 1idouble: 1ifloat: 1# y1Test "y1 (0.1) == -6.4589510947020269877":double: 1idouble: 1Test "y1 (0.7) == -1.1032498719076333697":double: 1float: 1idouble: 1ifloat: 1Test "y1 (1.5) == -0.41230862697391129595":float: 1ifloat: 1Test "y1 (10.0) == 0.24901542420695388392":double: 3float: 1idouble: 3ifloat: 1Test "y1 (2.0) == -0.10703243154093754689":double: 1float: 1idouble: 1ifloat: 1Test "y1 (8.0) == -0.15806046173124749426":double: 1float: 2idouble: 1ifloat: 2# ynTest "yn (0, 0.7) == -0.19066492933739506743":double: 2float: 1idouble: 2ifloat: 1Test "yn (0, 1.0) == 0.088256964215676957983":double: 2float: 1idouble: 2ifloat: 1Test "yn (0, 1.5) == 0.38244892379775884396":double: 2float: 1idouble: 2ifloat: 1Test "yn (0, 10.0) == 0.055671167283599391424":float: 1ifloat: 1Test "yn (0, 8.0) == 0.22352148938756622053":double: 1float: 1idouble: 1ifloat: 1Test "yn (1, 0.1) == -6.4589510947020269877":double: 1idouble: 1Test "yn (1, 0.7) == -1.1032498719076333697":double: 1float: 1idouble: 1ifloat: 1Test "yn (1, 1.5) == -0.41230862697391129595":float: 1ifloat: 1Test "yn (1, 10.0) == 0.24901542420695388392":double: 3float: 1idouble: 3ifloat: 1Test "yn (1, 2.0) == -0.10703243154093754689":double: 1float: 1idouble: 1ifloat: 1Test "yn (1, 8.0) == -0.15806046173124749426":double: 1float: 2idouble: 1ifloat: 2Test "yn (10, 0.1) == -0.11831335132045197885e19":double: 2float: 2idouble: 2ifloat: 2Test "yn (10, 0.7) == -0.42447194260703866924e10":double: 3idouble: 3Test "yn (10, 1.0) == -0.12161801427868918929e9":double: 1idouble: 1Test "yn (10, 10.0) == -0.35981415218340272205":double: 1float: 1idouble: 1ifloat: 1Test "yn (10, 2.0) == -129184.54220803928264":double: 2idouble: 2Test "yn (3, 0.1) == -5099.3323786129048894":double: 1float: 1idouble: 1ifloat: 1Test "yn (3, 0.7) == -15.819479052819633505":double: 3float: 1idouble: 3ifloat: 1Test "yn (3, 10.0) == -0.25136265718383732978":double: 1float: 1idouble: 1ifloat: 1Test "yn (3, 2.0) == -1.1277837768404277861":double: 1idouble: 1# Maximal error of functions:Function: "asin":double: 1float: 2idouble: 1ifloat: 2Function: "atan2":float: 4ifloat: 4Function: "atanh":double: 1idouble: 1Function: "cabs":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "cacos":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "cacos":float: 1ifloat: 1Function: Real part of "cacosh":double: 1float: 7idouble: 1ifloat: 7Function: Imaginary part of "cacosh":double: 1float: 3idouble: 1ifloat: 3Function: Real part of "casin":double: 3float: 2idouble: 3ifloat: 2Function: Imaginary part of "casin":float: 1ifloat: 1Function: Real part of "casinh":double: 5float: 1idouble: 5ifloat: 1Function: Imaginary part of "casinh":double: 3float: 6idouble: 3ifloat: 6Function: Real part of "catan":float: 4ifloat: 4Function: Imaginary part of "catan":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "catanh":double: 4float: 1idouble: 4ifloat: 1Function: Imaginary part of "catanh":double: 1float: 6idouble: 1ifloat: 6Function: "cbrt":double: 1idouble: 1Function: Real part of "ccos":double: 1idouble: 1Function: Imaginary part of "ccos":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "ccosh":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "ccosh":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "cexp":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "cexp":float: 1ifloat: 1Function: Imaginary part of "clog":double: 1float: 3idouble: 1ifloat: 3Function: Real part of "clog10":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "clog10":double: 1float: 5idouble: 1ifloat: 5Function: "cos":double: 2float: 1idouble: 2ifloat: 1Function: Real part of "cpow":double: 1float: 4idouble: 1ifloat: 4Function: Imaginary part of "cpow":double: 1.1031float: 2idouble: 1.1031ifloat: 2Function: Imaginary part of "csin":float: 1ifloat: 1Function: Real part of "csinh":float: 1ifloat: 1Function: Imaginary part of "csinh":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "csqrt":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "csqrt":float: 1ifloat: 1Function: Real part of "ctan":double: 1float: 1idouble: 1ifloat: 1Function: Imaginary part of "ctan":double: 1float: 1idouble: 1ifloat: 1Function: Real part of "ctanh":double: 2float: 2idouble: 2ifloat: 2Function: Imaginary part of "ctanh":double: 2float: 1idouble: 2ifloat: 1Function: "erfc":double: 24float: 12idouble: 24ifloat: 12Function: "exp10":double: 6float: 2idouble: 6ifloat: 2Function: "expm1":float: 1ifloat: 1Function: "fmod":double: 2float: 1idouble: 2ifloat: 1Function: "hypot":double: 1float: 1idouble: 1ifloat: 1Function: "j0":double: 2float: 2idouble: 2ifloat: 2Function: "j1":double: 1float: 2idouble: 1ifloat: 2Function: "jn":double: 6float: 4idouble: 6ifloat: 4Function: "lgamma":double: 1float: 2idouble: 1ifloat: 2Function: "log":double: 1float: 1idouble: 1ifloat: 1Function: "log10":double: 1float: 1idouble: 1ifloat: 1Function: "log1p":double: 1float: 1idouble: 1ifloat: 1Function: "log2":double: 1float: 1idouble: 1ifloat: 1Function: "sincos":double: 1float: 1idouble: 1ifloat: 1Function: "sinh":double: 1float: 1idouble: 1ifloat: 1Function: "tan":double: 0.5idouble: 0.5Function: "tanh":double: 1float: 1idouble: 1ifloat: 1Function: "tgamma":double: 1float: 1idouble: 1ifloat: 1Function: "y0":double: 2float: 1idouble: 2ifloat: 1Function: "y1":double: 3float: 2idouble: 3ifloat: 2Function: "yn":double: 3float: 2idouble: 3ifloat: 2# end of automatic generation

⌨️ 快捷键说明

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