如果我们查看 C11 的草案,则保留了以下名称:
7.31 Future library directions
The following names are grouped under individual headers for convenience. All external
names described below are reserved no matter what headers are included by the program.
7.31.1 Complex arithmetic <complex.h>
The function names
cerf cerfc cexp2 cexpm1 clog10 clog1p clog2 clgamma ctgamma
and the same names suffixed with f or l may be added to the declarations in the
<complex.h> header.
由于我非常希望将复杂的 gamma 函数视为标准 C 的一部分(因为它们是许多其他复杂函数的基础),所以我想知道 7.31.1 子句的真正含义是什么。
为什么只添加声明而不添加它们的定义?
我们可以期待它们用于下一个 C 标准或次要版本吗?(如果答案是肯定的,预计下一个标准何时发布?)
是否有任何实现已经可用作编译器的非标准扩展?