positivity.c
来自「该文件为c++的数学函数库!是一个非常有用的编程工具.它含有各种数学函数,为科学」· C语言 代码 · 共 14 行
C
14 行
/* Compare the integral of f(x) with the integral of |f(x)| to determine if f(x) covers both positive and negative values */static inline inttest_positivity (double result, double resabs);static inline inttest_positivity (double result, double resabs){ int status = (fabs (result) >= (1 - 50 * GSL_DBL_EPSILON) * resabs); return status;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?