Merged
数学库接口精度表更新与接口资料修改合入商分 #6047
数学库接口精度表更新与接口资料修改合入商分 #6047
Merged
xuyiyangAdd on Sep 15
Total: 33 files changed+162-156
@@ -58,9 +58,7 @@ e的x次方。本接口受全局饱和模式影响,特殊值如下:
58 58 
59## 约束说明59## 约束说明
60 60 
61-<!-- npu="950" id7 -->61+无
62-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
63-<!-- end id7 -->
64 62 
65## 调用示例63## 调用示例
66 64 
@@ -59,9 +59,7 @@ inline bfloat16_t hexp10(bfloat16_t x)
59 59 
60## 约束说明60## 约束说明
61 61 
62-<!-- npu="950" id7 -->62+无
63-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
64-<!-- end id7 -->
65 63 
66## 调用示例64## 调用示例
67 65 
@@ -58,9 +58,7 @@ inline bfloat16_t hexp2(bfloat16_t x)
58 58 
59## 约束说明59## 约束说明
60 60 
61-<!-- npu="950" id7 -->61+无
62-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
63-<!-- end id7 -->
64 62 
65## 调用示例63## 调用示例
66 64 
@@ -61,10 +61,6 @@ inline bfloat16_t hrsqrt(bfloat16_t x)
61 61 
62本接口支持的输入数据范围为x大于等于0,否则非饱和模式下返回值为nan,饱和模式下返回值为0。62本接口支持的输入数据范围为x大于等于0,否则非饱和模式下返回值为nan,饱和模式下返回值为0。
63 63 
64-<!-- npu="950" id7 -->
65-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了sqrtf,由于sqrtf不支持Subnormal场景,当输入x为Subnormal数据时,会导致本接口最终结果为+inf。
66-<!-- end id7 -->
67- 
68## 调用示例64## 调用示例
69 65 
70- SIMT编程场景:66- SIMT编程场景:
@@ -61,10 +61,6 @@ inline bfloat16_t hsqrt(bfloat16_t x)
61 61 
62本接口支持的输入数据范围为x大于等于0,否则非饱和模式下返回值为nan,饱和模式下返回值为0。62本接口支持的输入数据范围为x大于等于0,否则非饱和模式下返回值为nan,饱和模式下返回值为0。
63 63 
64-<!-- npu="950" id7 -->
65-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
66-<!-- end id7 -->
67- 
68## 调用示例64## 调用示例
69 65 
70- SIMT编程场景:66- SIMT编程场景:
@@ -61,9 +61,7 @@ inline bfloat16x2_t h2exp(bfloat16x2_t x)
61 61 
62## 约束说明62## 约束说明
63 63 
64-<!-- npu="950" id7 -->64+无
65-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
66-<!-- end id7 -->
67 65 
68## 调用示例66## 调用示例
69 67 
@@ -59,9 +59,7 @@ inline bfloat16x2_t h2exp10(bfloat16x2_t x)
59 59 
60## 约束说明60## 约束说明
61 61 
62-<!-- npu="950" id7 -->62+无
63-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
64-<!-- end id7 -->
65 63 
66## 调用示例64## 调用示例
67 65 
@@ -59,9 +59,7 @@ inline bfloat16x2_t h2exp2(bfloat16x2_t x)
59 59 
60## 约束说明60## 约束说明
61 61 
62-<!-- npu="950" id7 -->62+无
63-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
64-<!-- end id7 -->
65 63 
66## 调用示例64## 调用示例
67 65 
@@ -62,9 +62,7 @@ inline bfloat16x2_t h2rsqrt(bfloat16x2_t x)
62 62 
63本接口支持的输入数据范围为x大于等于0,否则返回值为nan。63本接口支持的输入数据范围为x大于等于0,否则返回值为nan。
64 64 
65-<!-- npu="950" id7 -->65+无
66-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了sqrtf,由于sqrtf不支持Subnormal场景,当输入x为Subnormal数据时,会导致本接口最终结果为+inf。
67-<!-- end id7 -->
68 66 
69## 调用示例67## 调用示例
70 68 
@@ -61,10 +61,6 @@ inline bfloat16x2_t h2sqrt(bfloat16x2_t x)
61 61 
62本接口支持的输入数据各元素范围为x大于等于0,否则在非饱和模式下返回值为nan,在饱和模式下返回值为0。62本接口支持的输入数据各元素范围为x大于等于0,否则在非饱和模式下返回值为nan,在饱和模式下返回值为0。
63 63 
64-<!-- npu="950" id7 -->
65-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
66-<!-- end id7 -->
67- 
68## 调用示例64## 调用示例
69 65 
70- SIMT编程场景:66- SIMT编程场景:
@@ -69,11 +69,13 @@ y/x的反正切值。
69| 1 | inf | π/2 |69| 1 | inf | π/2 |
70| 1 | -inf | -π/2 |70| 1 | -inf | -π/2 |
71 71 
72+在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,若仅y为Subnormal数据且x为非Subnormal的正数,则返回值为0。
73+ 
72## 约束说明74## 约束说明
73 75 
74-<!-- npu="950" id7 -->76+本接口受编译选项`--cce-use-fast-math`的影响。
75-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当x和y均为Subnormal数据时,本接口最终返回nan;当仅y为Subnormal数据且x为正数且非Subnormal数据时,本接口最终返回0;当仅y为Subnormal数据且x为负数且非Subnormal数据时,本接口最终返回与y同号的π。77+- --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了除法运算符,由于快速计算模式下除法运算符不支持Subnormal场景,因此本接口不支持仅y为Subnormal数据且x为非Subnormal的正数的场景。
76-<!-- end id7 -->78+- --cce-use-fast-math=false:支持Subnormal场景的高精度计算。
77 79 
78## 调用示例80## 调用示例
79 81 
@@ -53,9 +53,7 @@ inline float erfcf(float x)
53 53 
54## 约束说明54## 约束说明
55 55 
56-<!-- npu="950" id7 -->56+无
57-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了`exp2f()`,由于`exp2f()`不支持Subnormal场景,在极少数场景下内部指数计算结果为Subnormal数据,导致本接口最终结果为0。
58-<!-- end id7 -->
59 57 
60## 调用示例58## 调用示例
61 59 
@@ -51,12 +51,13 @@ inline float erfcxf(float x)
51- 当x为nan时,返回值为nan。51- 当x为nan时,返回值为nan。
52- 当x为-inf时,返回值为inf。52- 当x为-inf时,返回值为inf。
53- 当x为inf时,返回0。53- 当x为inf时,返回0。
54+- 在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,若内部计算的除法结果为Subnormal数据时,接口返回值为0。
54 55 
55## 约束说明56## 约束说明
56 57 
57-<!-- npu="950" id7 -->58+本接口受编译选项`--cce-use-fast-math`的影响。
58-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,在极少数场景下内部计算的除法结果为Subnormal数据,导致本接口最终结果为0。59+- --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了除法运算符,由于快速计算模式下除法运算符不支持Subnormal场景,因此本接口不支持内部计算的除法结果为Subnormal数据的场景。
59-<!-- end id7 -->60+- --cce-use-fast-math=false:支持Subnormal场景的高精度计算。
60 61 
61## 调用示例62## 调用示例
62 63 
@@ -56,9 +56,7 @@ inline float exp10f(float x)
56 56 
57## 约束说明57## 约束说明
58 58 
59-<!-- npu="950" id7 -->59+无
60-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
61-<!-- end id7 -->
62 60 
63## 调用示例61## 调用示例
64 62 
@@ -60,9 +60,7 @@ inline float exp2f(float x)
60 60 
61## 约束说明61## 约束说明
62 62 
63-<!-- npu="950" id7 -->63+无
64-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
65-<!-- end id7 -->
66 64 
67## 调用示例65## 调用示例
68 66 
@@ -55,9 +55,7 @@ e的x次方减1。
55 55 
56## 约束说明56## 约束说明
57 57 
58-<!-- npu="950" id7 -->58+无
59-针对Ascend 950PR/Ascend 950DT,本接口不支持输入为Subnormal的场景:本接口内部实现使用到了expf,由于expf不支持Subnormal场景,当输入x处于Subnormal范围内时,返回值为0;当x为较大负数且expf的结果处于Subnormal范围内时,本接口最终结果为-1.0。
60-<!-- end id7 -->
61 59 
62## 调用示例60## 调用示例
63 61 
@@ -56,9 +56,7 @@ x^2 + y^2的平方根。
56 56 
57## 约束说明57## 约束说明
58 58 
59-<!-- npu="950" id7 -->59+无
60-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
61-<!-- end id7 -->
62 60 
63## 调用示例61## 调用示例
64 62 
@@ -53,13 +53,14 @@ inline float jnf(int n, float x)
53- 当n<0时,返回值为nan。53- 当n<0时,返回值为nan。
54- 当x=inf或-inf时,返回值为0。54- 当x=inf或-inf时,返回值为0。
55- 当x=nan时,返回值为nan。55- 当x=nan时,返回值为nan。
56+- 在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,若内部计算的expf结果为Subnormal数据,则接口返回值为0。
56 57 
57## 约束说明58## 约束说明
58 59 
59-- n的最大取值为128。60+- n的最大取值为128。
60-<!-- npu="950" id7 -->61+- 本接口受编译选项`--cce-use-fast-math`的影响。
61-- 针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了expf,由于expf不支持Subnormal场景,在极少数场景下内部计算的expf结果为Subnormal数据,导致本接口最终结果为0。62+ - --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了expf,由于快速计算模式下expf不支持Subnormal场景,因此本接口不支持内部计算的expf结果为Subnormal数据的场景。
62-<!-- end id7 -->63+ - --cce-use-fast-math=false:支持Subnormal场景的高精度计算。
63 64 
64## 调用示例65## 调用示例
65 66 
@@ -59,9 +59,7 @@ a^2 + b^2 + c^2的平方根。
59 59 
60## 约束说明60## 约束说明
61 61 
62-<!-- npu="950" id7 -->62+无
63-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
64-<!-- end id7 -->
65 63 
66## 调用示例64## 调用示例
67 65 
@@ -58,9 +58,7 @@ a^2 + b^2 + c^2 + d^2的平方根。
58 58 
59## 约束说明59## 约束说明
60 60 
61-<!-- npu="950" id7 -->61+无
62-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
63-<!-- end id7 -->
64 62 
65## 调用示例63## 调用示例
66 64 
@@ -59,9 +59,6 @@ a\[0\]^2 + a\[1\]^2 + ...+ a\[n-1\]^2的平方根。
59 59 
60- 输入数据a的长度必须大于等于参数n。60- 输入数据a的长度必须大于等于参数n。
61- 若n过大,接口性能无法保证。61- 若n过大,接口性能无法保证。
62-<!-- npu="950" id7 -->
63-- 针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当输入a的所有元素均为Subnormal数据时,会导致接口最终结果为nan。
64-<!-- end id7 -->
65 62 
66## 调用示例63## 调用示例
67 64 
@@ -76,9 +76,7 @@ x的y次幂的结果。
76 76 
77## 约束说明77## 约束说明
78 78 
79-<!-- npu="950" id7 -->79+无
80-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:处于Subnormal范围内的输入和输出值,都会被刷新为保留符号的0。
81-<!-- end id7 -->
82 80 
83## 调用示例81## 调用示例
84 82 
@@ -58,9 +58,7 @@ x^2 + y^2的平方根的倒数。
58 58 
59## 约束说明59## 约束说明
60 60 
61-<!-- npu="950" id7 -->61+无
62-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
63-<!-- end id7 -->
64 62 
65## 调用示例63## 调用示例
66 64 
@@ -63,9 +63,7 @@ a^2 + b^2 + c^2的平方根的倒数。
63 63 
64## 约束说明64## 约束说明
65 65 
66-<!-- npu="950" id7 -->66+无
67-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
68-<!-- end id7 -->
69 67 
70## 调用示例68## 调用示例
71 69 
@@ -60,9 +60,7 @@ a^2 + b^2 + c^2 + d^2的平方根的倒数。
60 60 
61## 约束说明61## 约束说明
62 62 
63-<!-- npu="950" id7 -->63+无
64-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当所有输入均为Subnormal数据时,本接口最终返回nan。
65-<!-- end id7 -->
66 64 
67## 调用示例65## 调用示例
68 66 
@@ -61,9 +61,6 @@ a\[0\]^2 + a\[1\]^2 + ...+ a\[n-1\]^2的平方根的倒数。
61 61 
62- 输入数据a的长度必须大于等于参数n。62- 输入数据a的长度必须大于等于参数n。
63- 若n过大,接口性能无法保证。63- 若n过大,接口性能无法保证。
64-<!-- npu="950" id7 -->
65-- 针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,当输入a的所有元素均为Subnormal数据时,本接口最终结果为nan。
66-<!-- end id7 -->
67 64 
68## 调用示例65## 调用示例
69 66 
@@ -53,14 +53,14 @@ inline float rsqrtf(float x)
53- 当x为inf时,返回值为0。53- 当x为inf时,返回值为0。
54- 当x为-inf时,返回值为nan。54- 当x为-inf时,返回值为nan。
55- 当x为nan时,返回值为nan。55- 当x为nan时,返回值为nan。
56+- 在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,当x为Subnormal数据时,接口返回值为+inf。
56 57 
57## 约束说明58## 约束说明
58 59 
59-本接口支持的输入数据范围为x大于等于0,否则返回值为nan。60+- 本接口支持的输入数据范围为x大于等于0,否则返回值为nan。
60- 61+- 本接口受编译选项`--cce-use-fast-math`的影响。
61-<!-- npu="950" id7 -->62+ - --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了sqrtf,由于快速计算模式下sqrtf不支持Subnormal场景,因此本接口不支持输入x为Subnormal数据的场景。
62-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了sqrtf,由于sqrtf不支持Subnormal场景,当输入x为Subnormal数据时,会导致本接口最终结果为+inf。63+ - --cce-use-fast-math=false:支持Subnormal场景的高精度平方根倒数运算。
63-<!-- end id7 -->
64 64 
65## 调用示例65## 调用示例
66 66 
@@ -56,9 +56,7 @@ inline float scalblnf(float x, int64_t n)
56 56 
57## 约束说明57## 约束说明
58 58 
59-<!-- npu="950" id7 -->59+无
60-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,在极少数场景下内部计算的除法结果为Subnormal数据,导致本接口最终结果为0。
61-<!-- end id7 -->
62 60 
63## 调用示例61## 调用示例
64 62 
@@ -56,9 +56,7 @@ inline float scalbnf(float x, int32_t n)
56 56 
57## 约束说明57## 约束说明
58 58 
59-<!-- npu="950" id7 -->59+无
60-针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,在极少数场景下内部计算的除法结果为Subnormal数据,导致本接口最终结果为0。
61-<!-- end id7 -->
62 60 
63## 调用示例61## 调用示例
64 62 
@@ -53,12 +53,13 @@ inline float y1f(float x)
53- 当x=0时,返回值为-inf。53- 当x=0时,返回值为-inf。
54- 当x=inf时,返回值为0。54- 当x=inf时,返回值为0。
55- 当x=nan时,返回值为nan。55- 当x=nan时,返回值为nan。
56+- 在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,若内部中间计算值的除数为Subnormal数据,则接口返回值为-inf。
56 57 
57## 约束说明58## 约束说明
58 59 
59-<!-- npu="950" id7 -->60+本接口受编译选项`--cce-use-fast-math`的影响。
60-- 针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符。由于除法运算符不支持Subnormal场景,在极少数场景下内部中间计算值的除数为Subnormal数据,会导致本接口最终结果为-inf。61+- --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了除法运算符,由于快速计算模式下除法运算符不支持Subnormal场景,因此本接口不支持内部中间计算值的除数为Subnormal数据的场景。
61-<!-- end id7 -->62+- --cce-use-fast-math=false:支持Subnormal场景的高精度计算。
62 63 
63## 调用示例64## 调用示例
64 65 
@@ -55,13 +55,14 @@ inline float ynf(int n, float x)
55- 当x<0时,返回值为nan。55- 当x<0时,返回值为nan。
56- 当x=inf时,返回值为0。56- 当x=inf时,返回值为0。
57- 当x=nan时,返回值为nan。57- 当x=nan时,返回值为nan。
58+- 在快速计算模式([--cce-use-fast-math](../../../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)设置为`true`)下,若内部计算的除数为Subnormal数据,则接口返回值为±inf。
58 59 
59## 约束说明60## 约束说明
60 61 
61-- n的最大取值为128。62+- n的最大取值为128。
62-<!-- npu="950" id7 -->63+- 本接口受编译选项`--cce-use-fast-math`的影响。
63-- 针对Ascend 950PR/Ascend 950DT,本接口不支持Subnormal场景:本接口内部实现使用到了除法运算符,由于除法运算符不支持Subnormal场景,在极少数场景下内部计算的除数为Subnormal数据,导致本接口最终结果为±inf。64+ - --cce-use-fast-math=true:开启快速计算模式。本接口内部实现使用到了除法运算符,由于快速计算模式下除法运算符不支持Subnormal场景,因此本接口不支持内部计算的除数为Subnormal数据的场景。
64-<!-- end id7 -->65+ - --cce-use-fast-math=false:支持Subnormal场景的高精度计算。
65 66 
66## 调用示例67## 调用示例
67 68 
@@ -1,6 +1,6 @@
1# SIMT接口精度标准汇总1# SIMT接口精度标准汇总
2 2 
3-本节按照数据类型和接口类型对SIMT浮点计算接口进行精度标准的分类汇总。对于非软仿接口,给出对应硬件指令的精度标准;对于软仿接口,由于软仿程度较低且使用到的硬件指令较少,给出其所用硬件指令的综合性精度标准。3+本节按照数据类型和接口类型对SIMT浮点计算接口进行精度标准的分类汇总。对于非软仿接口,给出对应硬件指令的精度标准;对于软仿接口,由于软仿程度较低且使用到的硬件指令较少,给出其所用硬件指令的综合性精度标准。以下接口的软仿精度标准均在编译选项[--cce-use-fast-math](../../guide/programming_guide/compilation_and_execution/operator_compilation/ai_core_operator_compilation.md#常用的编译选项)为`false`时获得。
4 4 
5## bf16数据类型计算API精度标准5## bf16数据类型计算API精度标准
6 6 
@@ -8,24 +8,24 @@
8 8 
9| 接口 | 硬件指令精度标准 | 软仿精度标准 |9| 接口 | 硬件指令精度标准 | 软仿精度标准 |
10| --- | --- | --- |10| --- | --- | --- |
11-| [hexp](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp.md) | - | 1-ulp,Not Support denormalized numbers |11+| [hexp](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp.md) | - | 0-ulp, Support denormalized numbers |
12-| [htanh](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/htanh.md) | - | 1-ulp,Not Support denormalized numbers |12+| [htanh](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/htanh.md) | - | 0-ulp, Support denormalized numbers|
13-| [hexp2](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp2.md) | - | 1-ulp,Not Support denormalized numbers |13+| [hexp2](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp2.md) | - | 0-ulp, Support denormalized numbers |
14-| [hexp10](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp10.md) | - | 1-ulp,Not Support denormalized numbers |14+| [hexp10](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hexp10.md) | - | 0-ulp, Support denormalized numbers |
15-| [hlog](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog.md) | - | 1-ulp,Not Support denormalized numbers |15+| [hlog](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog.md) | - | 0-ulp, Support denormalized numbers |
16-| [hlog2](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog2.md) | - | 1-ulp,Not Support denormalized numbers |16+| [hlog2](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog2.md) | - | 0-ulp, Support denormalized numbers |
17-| [hlog10](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog10.md) | - | 1-ulp,Not Support denormalized numbers |17+| [hlog10](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hlog10.md) | - | 0-ulp, Support denormalized numbers |
18-| [hsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hsqrt.md) | - | 1-ulp,Not Support denormalized numbers |18+| [hsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hsqrt.md) | - | 0-ulp, Support denormalized numbers |
19-| [hrsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hrsqrt.md) | - | 1-ulp,Not Support denormalized numbers |19+| [hrsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16_math_functions/hrsqrt.md) | - | 0-ulp, Support denormalized numbers |
20-| [h2tanh](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2tanh.md) | - | 1-ulp,Not Support denormalized numbers |20+| [h2tanh](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2tanh.md) | - | 0-ulp, Support denormalized numbers |
21-| [h2exp](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp.md) | - | 1-ulp,Not Support denormalized numbers |21+| [h2exp](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp.md) | - | 0-ulp, Support denormalized numbers |
22-| [h2exp2](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp2.md) | - | 1-ulp,Not Support denormalized numbers |22+| [h2exp2](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp2.md) | - | 0-ulp, Support denormalized numbers |
23-| [h2exp10](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp10.md) | - | 1-ulp,Not Support denormalized numbers |23+| [h2exp10](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2exp10.md) | - | 0-ulp, Support denormalized numbers |
24-| [h2log](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log.md) | - | 1-ulp,Not Support denormalized numbers |24+| [h2log](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log.md) | - | 0-ulp, Support denormalized numbers |
25-| [h2log2](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log2.md) | - | 1-ulp,Not Support denormalized numbers |25+| [h2log2](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log2.md) | - | 0-ulp, Support denormalized numbers |
26-| [h2log10](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log10.md) | - | 1-ulp,Not Support denormalized numbers |26+| [h2log10](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2log10.md) | - | 0-ulp, Support denormalized numbers |
27-| [h2sqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2sqrt.md) | - | 1-ulp,Not Support denormalized numbers |27+| [h2sqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2sqrt.md) | - | 0-ulp, Support denormalized numbers |
28-| [h2rsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2rsqrt.md) | - | 1-ulp,Not Support denormalized numbers |28+| [h2rsqrt](../SIMT-API/math_functions/bfloat16_type/bfloat16x2_math_functions/h2rsqrt.md) | - | 0-ulp, Support denormalized numbers |
29 29 
30### 算术函数30### 算术函数
31 31 
@@ -45,23 +45,23 @@
45 45 
46| 接口 | 硬件指令精度标准 | 软仿精度标准 |46| 接口 | 硬件指令精度标准 | 软仿精度标准 |
47| --- | --- | --- |47| --- | --- | --- |
48-| [hexp](../SIMT-API/math_functions/half_type/half_math_functions/hexp.md) | 1-ulp | - |48+| [hexp](../SIMT-API/math_functions/half_type/half_math_functions/hexp.md) | - | 0-ulp, Support denormalized numbers |
49-| [hexp2](../SIMT-API/math_functions/half_type/half_math_functions/hexp2.md) | - | 1-ulp,Not Support denormalized numbers |49+| [hexp2](../SIMT-API/math_functions/half_type/half_math_functions/hexp2.md) | - | 0-ulp, Support denormalized numbers |
50-| [hexp10](../SIMT-API/math_functions/half_type/half_math_functions/hexp10.md) | - | 1-ulp,Not Support denormalized numbers |50+| [hexp10](../SIMT-API/math_functions/half_type/half_math_functions/hexp10.md) | - | 0-ulp, Support denormalized numbers |
51-| [hlog](../SIMT-API/math_functions/half_type/half_math_functions/hlog.md) | 1-ulp,Not Support denormalized numbers | - |51+| [hlog](../SIMT-API/math_functions/half_type/half_math_functions/hlog.md) | - | 0-ulp, Support denormalized numbers |
52-| [hlog2](../SIMT-API/math_functions/half_type/half_math_functions/hlog2.md) | - | 1-ulp,Not Support denormalized numbers |52+| [hlog2](../SIMT-API/math_functions/half_type/half_math_functions/hlog2.md) | - | 0-ulp, Support denormalized numbers |
53-| [hlog10](../SIMT-API/math_functions/half_type/half_math_functions/hlog10.md) | - | 1-ulp,Not Support denormalized numbers |53+| [hlog10](../SIMT-API/math_functions/half_type/half_math_functions/hlog10.md) | - | 0-ulp, Support denormalized numbers |
54-| [hsqrt](../SIMT-API/math_functions/half_type/half_math_functions/hsqrt.md) | 1-ulp,Not Support denormalized numbers | - |54+| [hsqrt](../SIMT-API/math_functions/half_type/half_math_functions/hsqrt.md) | - | 0-ulp, Support denormalized numbers |
55-| [hrsqrt](../SIMT-API/math_functions/half_type/half_math_functions/hrsqrt.md) | - | 1-ulp,Not Support denormalized numbers |55+| [hrsqrt](../SIMT-API/math_functions/half_type/half_math_functions/hrsqrt.md) | - | 0-ulp, Support denormalized numbers |
56-| [h2tanh](../SIMT-API/math_functions/half_type/half2_math_functions/h2tanh.md) | - | 1-ulp,Not Support denormalized numbers |56+| [h2tanh](../SIMT-API/math_functions/half_type/half2_math_functions/h2tanh.md) | - | 0-ulp, Support denormalized numbers |
57-| [h2exp](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp.md) | - | 1-ulp,Not Support denormalized numbers |57+| [h2exp](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp.md) | - | 0-ulp, Support denormalized numbers |
58-| [h2exp2](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp2.md) | - | 1-ulp,Not Support denormalized numbers |58+| [h2exp2](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp2.md) | - | 0-ulp, Support denormalized numbers |
59-| [h2exp10](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp10.md) | - | 1-ulp,Not Support denormalized numbers |59+| [h2exp10](../SIMT-API/math_functions/half_type/half2_math_functions/h2exp10.md) | - | 0-ulp, Support denormalized numbers |
60-| [h2log](../SIMT-API/math_functions/half_type/half2_math_functions/h2log.md) | - | 1-ulp,Not Support denormalized numbers |60+| [h2log](../SIMT-API/math_functions/half_type/half2_math_functions/h2log.md) | - | 0-ulp, Support denormalized numbers |
61-| [h2log2](../SIMT-API/math_functions/half_type/half2_math_functions/h2log2.md) | - | 1-ulp,Not Support denormalized numbers |61+| [h2log2](../SIMT-API/math_functions/half_type/half2_math_functions/h2log2.md) | - | 0-ulp, Support denormalized numbers |
62-| [h2log10](../SIMT-API/math_functions/half_type/half2_math_functions/h2log10.md) | - | 1-ulp,Not Support denormalized numbers |62+| [h2log10](../SIMT-API/math_functions/half_type/half2_math_functions/h2log10.md) | - | 0-ulp, Support denormalized numbers |
63-| [h2sqrt](../SIMT-API/math_functions/half_type/half2_math_functions/h2sqrt.md) | 1-ulp,Not Support denormalized numbers | - |63+| [h2sqrt](../SIMT-API/math_functions/half_type/half2_math_functions/h2sqrt.md) | - | 0-ulp, Support denormalized numbers |
64-| [h2rsqrt](../SIMT-API/math_functions/half_type/half2_math_functions/h2rsqrt.md) | - | 1-ulp,Not Support denormalized numbers |64+| [h2rsqrt](../SIMT-API/math_functions/half_type/half2_math_functions/h2rsqrt.md) | - | 0-ulp, Support denormalized numbers |
65 65 
66### 算术函数66### 算术函数
67 67 
@@ -78,22 +78,80 @@
78 78 
79| 接口 | 硬件指令精度标准 | 软仿精度标准 |79| 接口 | 硬件指令精度标准 | 软仿精度标准 |
80| --- | --- | --- |80| --- | --- | --- |
81-| [expf](../SIMT-API/math_functions/float_math_functions/expf.md) | 1-ulp,Not Support denormalized numbers | - |81+| [acosf](../SIMT-API/math_functions/float_math_functions/acosf.md) | - | 2-ulp (full range), Support denormalized numbers |
82-| [tanhf](../SIMT-API/math_functions/float_math_functions/tanhf.md) | - | 1-ulp,Not Support denormalized numbers |82+| [acoshf](../SIMT-API/math_functions/float_math_functions/acoshf.md) | - | 4-ulp (full range), Support denormalized numbers |
83-| [tanpif](../SIMT-API/math_functions/float_math_functions/tanpif.md) | - | 1-ulp,Not Support denormalized numbers |83+| [asinf](../SIMT-API/math_functions/float_math_functions/asinf.md) | - | 2-ulp (full range), Support denormalized numbers |
84-| [atanf](../SIMT-API/math_functions/float_math_functions/atanf.md) | - | 1-ulp,Not Support denormalized numbers |84+| [asinhf](../SIMT-API/math_functions/float_math_functions/asinhf.md) | - | 3-ulp (full range), Support denormalized numbers |
85-| [atan2f](../SIMT-API/math_functions/float_math_functions/atan2f.md) | - | 1-ulp,Not Support denormalized numbers |85+| [atan2f](../SIMT-API/math_functions/float_math_functions/atan2f.md) | - | 3-ulp (full range), Support denormalized numbers |
86-| [atanhf](../SIMT-API/math_functions/float_math_functions/atanhf.md) | - | 1-ulp,Not Support denormalized numbers |86+| [atanf](../SIMT-API/math_functions/float_math_functions/atanf.md) | - | 2-ulp (full range), Support denormalized numbers |
87-| [expm1f](../SIMT-API/math_functions/float_math_functions/expm1f.md) | - | 1-ulp,Not Support denormalized numbers |87+| [atanhf](../SIMT-API/math_functions/float_math_functions/atanhf.md) | - | 3-ulp (full range), Support denormalized numbers |
88-| [logf](../SIMT-API/math_functions/float_math_functions/logf.md) | - | 1-ulp,Not Support denormalized numbers |88+| [cbrtf](../SIMT-API/math_functions/float_math_functions/cbrtf.md) | - | 1-ulp (full range), Support denormalized numbers |
89-| [log2f](../SIMT-API/math_functions/float_math_functions/log2f.md) | - | 1-ulp,Not Support denormalized numbers |89+| [ceilf](../SIMT-API/math_functions/float_math_functions/ceilf.md) | - | 0-ulp (full range), Support denormalized numbers |
90-| [log10f](../SIMT-API/math_functions/float_math_functions/log10f.md) | - | 1-ulp,Not Support denormalized numbers |90+| [cosf](../SIMT-API/math_functions/float_math_functions/cosf.md) | - | 2-ulp (full range), Support denormalized numbers |
91-| [log1pf](../SIMT-API/math_functions/float_math_functions/log1pf.md) | - | 1-ulp,Not Support denormalized numbers |91+| [coshf](../SIMT-API/math_functions/float_math_functions/coshf.md) | - | 2-ulp (full range), Support denormalized numbers |
92-| [cosf](../SIMT-API/math_functions/float_math_functions/cosf.md) | - | 1-ulp,Not Support denormalized numbers |92+| [cospif](../SIMT-API/math_functions/float_math_functions/cospif.md) | - | 1-ulp (full range), Support denormalized numbers |
93-| [acoshf](../SIMT-API/math_functions/float_math_functions/acoshf.md) | - | 1-ulp,Not Support denormalized numbers |93+| [cyl_bessel_i0f](../SIMT-API/math_functions/float_math_functions/cyl_bessel_i0f.md) | - | 6-ulp (full range), Support denormalized numbers |
94-| [sqrtf](../SIMT-API/math_functions/float_math_functions/sqrtf.md) | 1-ulp,Not Support denormalized numbers | - |94+| [cyl_bessel_i1f](../SIMT-API/math_functions/float_math_functions/cyl_bessel_i1f.md) | - | 6-ulp (full range), Support denormalized numbers |
95-| [rsqrtf](../SIMT-API/math_functions/float_math_functions/rsqrtf.md) | - | 1-ulp,Not Support denormalized numbers |95+| [erfcf](../SIMT-API/math_functions/float_math_functions/erfcf.md) | - | 4-ulp (full range), Support denormalized numbers |
96-| [cbrtf](../SIMT-API/math_functions/float_math_functions/cbrtf.md) | - | 1-ulp,Not Support denormalized numbers |96+| [erfcinvf](../SIMT-API/math_functions/float_math_functions/erfcinvf.md) | - | 4-ulp (full range), Support denormalized numbers |
97-| [rcbrtf](../SIMT-API/math_functions/float_math_functions/rcbrtf.md) | - | 1-ulp,Not Support denormalized numbers |97+| [erfcxf](../SIMT-API/math_functions/float_math_functions/erfcxf.md) | - | 4-ulp (full range), Support denormalized numbers |
98-| [remquof](../SIMT-API/math_functions/float_math_functions/remquof.md) | - | 1-ulp,Not Support denormalized numbers |98+| [erff](../SIMT-API/math_functions/float_math_functions/erff.md) | - | 2-ulp (full range), Support denormalized numbers |
99-| [fdividef](../SIMT-API/math_functions/float_math_functions/fdividef.md) | 1-ulp,Not Support denormalized numbers | - |99+| [erfinvf](../SIMT-API/math_functions/float_math_functions/erfinvf.md) | - | 2-ulp (full range), Support denormalized numbers |
100+| [exp10f](../SIMT-API/math_functions/float_math_functions/exp10f.md) | - | 2-ulp (full range), Support denormalized numbers |
101+| [exp2f](../SIMT-API/math_functions/float_math_functions/exp2f.md) | - | 2-ulp (full range), Support denormalized numbers |
102+| [expf](../SIMT-API/math_functions/float_math_functions/expf.md) | - | 1-ulp (full range), Support denormalized numbers |
103+| [expm1f](../SIMT-API/math_functions/float_math_functions/expm1f.md) | - | 1-ulp (full range), Support denormalized numbers |
104+| [fdimf](../SIMT-API/math_functions/float_math_functions/fdimf.md) | - | 0-ulp (full range), Support denormalized numbers |
105+| [fdividef](../SIMT-API/math_functions/float_math_functions/fdividef.md) | - | 0-ulp (full range), Support denormalized numbers |
106+| [floorf](../SIMT-API/math_functions/float_math_functions/floorf.md) | - | 0-ulp (full range), Support denormalized numbers |
107+| [fmaf](../SIMT-API/math_functions/float_math_functions/fmaf.md) | - | 0-ulp (full range), Support denormalized numbers |
108+| [fmodf](../SIMT-API/math_functions/float_math_functions/fmodf.md) | - | 0-ulp (full range), Support denormalized numbers |
109+| [frexpf](../SIMT-API/math_functions/float_math_functions/frexpf.md) | - | 0-ulp (full range), Support denormalized numbers |
110+| [hypotf](../SIMT-API/math_functions/float_math_functions/hypotf.md) | - | 3-ulp (full range), Support denormalized numbers |
111+| [ilogbf](../SIMT-API/math_functions/float_math_functions/ilogbf.md) | - | 0-ulp (full range), Support denormalized numbers |
112+| [j0f](../SIMT-API/math_functions/float_math_functions/j0f.md) | - | 9-ulp for abs(x) < 8; otherwise, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
113+| [j1f](../SIMT-API/math_functions/float_math_functions/j1f.md) | - | 9-ulp for abs(x) < 8; otherwise, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
114+| [jnf](../SIMT-API/math_functions/float_math_functions/jnf.md) | - | For n = 128, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
115+| [ldexpf](../SIMT-API/math_functions/float_math_functions/ldexpf.md) | - | 0-ulp (full range), Support denormalized numbers |
116+| [lgammaf](../SIMT-API/math_functions/float_math_functions/lgammaf.md) | - | 6-ulp (outside interval -10.001 ... -2.264; larger inside), Support denormalized numbers |
117+| [llrintf](../SIMT-API/math_functions/float_math_functions/llrintf.md) | - | 0-ulp (full range), Support denormalized numbers |
118+| [llroundf](../SIMT-API/math_functions/float_math_functions/llroundf.md) | - | 0-ulp (full range), Support denormalized numbers |
119+| [log10f](../SIMT-API/math_functions/float_math_functions/log10f.md) | - | 2-ulp (full range), Support denormalized numbers |
120+| [log1pf](../SIMT-API/math_functions/float_math_functions/log1pf.md) | - | 1-ulp (full range), Support denormalized numbers |
121+| [log2f](../SIMT-API/math_functions/float_math_functions/log2f.md) | - | 1-ulp (full range), Support denormalized numbers |
122+| [logbf](../SIMT-API/math_functions/float_math_functions/logbf.md) | - | 0-ulp (full range), Support denormalized numbers |
123+| [logf](../SIMT-API/math_functions/float_math_functions/logf.md) | - | 1-ulp (full range), Support denormalized numbers |
124+| [lrintf](../SIMT-API/math_functions/float_math_functions/lrintf.md) | - | 0-ulp (full range), Support denormalized numbers |
125+| [lroundf](../SIMT-API/math_functions/float_math_functions/lroundf.md) | - | 0-ulp (full range), Support denormalized numbers |
126+| [modff](../SIMT-API/math_functions/float_math_functions/modff.md) | - | 0-ulp (full range), Support denormalized numbers |
127+| [nearbyintf](../SIMT-API/math_functions/float_math_functions/nearbyintf.md) | - | 0-ulp (full range), Support denormalized numbers |
128+| [norm3df](../SIMT-API/math_functions/float_math_functions/norm3df.md) | - | 3-ulp (full range), Support denormalized numbers |
129+| [norm4df](../SIMT-API/math_functions/float_math_functions/norm4df.md) | - | 3-ulp (full range), Support denormalized numbers |
130+| [normcdff](../SIMT-API/math_functions/float_math_functions/normcdff.md) | - | 5-ulp (full range), Support denormalized numbers |
131+| [normcdfinvf](../SIMT-API/math_functions/float_math_functions/normcdfinvf.md) | - | 5-ulp (full range), Support denormalized numbers |
132+| [powf](../SIMT-API/math_functions/float_math_functions/powf.md) | - | 4-ulp (full range), Support denormalized numbers |
133+| [rcbrtf](../SIMT-API/math_functions/float_math_functions/rcbrtf.md) | - | 1-ulp (full range), Support denormalized numbers |
134+| [remainderf](../SIMT-API/math_functions/float_math_functions/remainderf.md) | - | 0-ulp (full range), Support denormalized numbers |
135+| [remquof](../SIMT-API/math_functions/float_math_functions/remquof.md) | - | 0-ulp (full range), Support denormalized numbers |
136+| [rhypotf](../SIMT-API/math_functions/float_math_functions/rhypotf.md) | - | 2-ulp (full range), Support denormalized numbers |
137+| [rintf](../SIMT-API/math_functions/float_math_functions/rintf.md) | - | 0-ulp (full range), Support denormalized numbers |
138+| [rnorm3df](../SIMT-API/math_functions/float_math_functions/rnorm3df.md) | - | 2-ulp (full range), Support denormalized numbers |
139+| [rnorm4df](../SIMT-API/math_functions/float_math_functions/rnorm4df.md) | - | 2-ulp (full range), Support denormalized numbers |
140+| [roundf](../SIMT-API/math_functions/float_math_functions/roundf.md) | - | 0-ulp (full range), Support denormalized numbers |
141+| [rsqrtf](../SIMT-API/math_functions/float_math_functions/rsqrtf.md) | - | 2-ulp (full range), Support denormalized numbers |
142+| [scalblnf](../SIMT-API/math_functions/float_math_functions/scalblnf.md) | - | 0-ulp (full range), Support denormalized numbers |
143+| [scalbnf](../SIMT-API/math_functions/float_math_functions/scalbnf.md) | - | 0-ulp (full range), Support denormalized numbers |
144+| [sincosf](../SIMT-API/math_functions/float_math_functions/sincosf.md) | - | 2-ulp (full range), Support denormalized numbers |
145+| [sincospif](../SIMT-API/math_functions/float_math_functions/sincospif.md) | - | 2-ulp (full range), Support denormalized numbers |
146+| [sinf](../SIMT-API/math_functions/float_math_functions/sinf.md) | - | 2-ulp (full range), Support denormalized numbers |
147+| [sinhf](../SIMT-API/math_functions/float_math_functions/sinhf.md) | - | 3-ulp (full range), Support denormalized numbers |
148+| [sinpif](../SIMT-API/math_functions/float_math_functions/sinpif.md) | - | 2-ulp (full range), Support denormalized numbers |
149+| [sqrtf](../SIMT-API/math_functions/float_math_functions/sqrtf.md) | - | 0-ulp (full range), Support denormalized numbers |
150+| [tanf](../SIMT-API/math_functions/float_math_functions/tanf.md) | - | 4-ulp (full range), Support denormalized numbers |
151+| [tanhf](../SIMT-API/math_functions/float_math_functions/tanhf.md) | - | 2-ulp (full range), Support denormalized numbers |
152+| [tanpif](../SIMT-API/math_functions/float_math_functions/tanpif.md) | - | 2-ulp (full range), Support denormalized numbers |
153+| [tgammaf](../SIMT-API/math_functions/float_math_functions/tgammaf.md) | - | 5-ulp (full range), Support denormalized numbers |
154+| [truncf](../SIMT-API/math_functions/float_math_functions/truncf.md) | - | 0-ulp (full range), Support denormalized numbers |
155+| [y0f](../SIMT-API/math_functions/float_math_functions/y0f.md) | - | 9-ulp for abs(x) < 8; otherwise, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
156+| [y1f](../SIMT-API/math_functions/float_math_functions/y1f.md) | - | 9-ulp for abs(x) < 8; otherwise, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
157+| [ynf](../SIMT-API/math_functions/float_math_functions/ynf.md) | - | ceil(2 + 2.5n)-ulp for abs(x) < n; otherwise, the maximum absolute error is 2.2 x 10^-6; Support denormalized numbers |
@@ -123,7 +123,7 @@ AI Core SIMT的基本编译流程如下:Host代码使用Host编译器编译成
123| --cce-ftz=false/true | 否 | 控制非规格化数(极小数)的处理方式。true表示将非规格化数直接刷新为0,可提升性能;false表示保留非规格化数,精度更高但性能可能较低,默认值为true。当前支持SIMD和SIMT,其中SIMD仅支持NPU架构版本3510。 |123| --cce-ftz=false/true | 否 | 控制非规格化数(极小数)的处理方式。true表示将非规格化数直接刷新为0,可提升性能;false表示保留非规格化数,精度更高但性能可能较低,默认值为true。当前支持SIMD和SIMT,其中SIMD仅支持NPU架构版本3510。 |
124| --cce-prec-div=false/true | 否 | 是否使用精确的除法计算,默认为false。当前只支持SIMT。 |124| --cce-prec-div=false/true | 否 | 是否使用精确的除法计算,默认为false。当前只支持SIMT。 |
125| --cce-prec-sqrt=false/true | 否 | 是否使用精确的平方根函数,默认false。当前只支持SIMT。 |125| --cce-prec-sqrt=false/true | 否 | 是否使用精确的平方根函数,默认false。当前只支持SIMT。 |
126-| --cce-use-fast-math=false/true | 否 | 是否开启快速计算模式,开启时相当于--cce-ftz=true --cce-prec-div=false --cce-prec-sqrt=false(若有冲突,以--cce-ftz,--cce-prec-div,--cce-prec-sqrt设置的为准)。当前只支持SIMT。 |126+| --cce-use-fast-math=false/true | 否 | 是否开启快速计算模式,默认true。开启时相当于--cce-ftz=true --cce-prec-div=false --cce-prec-sqrt=false(若有冲突,以--cce-ftz,--cce-prec-div,--cce-prec-sqrt设置的为准)。当前只支持SIMT。 |
127 127 
128>[!NOTE]说明128>[!NOTE]说明
129><!-- npu="A3,910b,910,310p,310b" id13 -->129><!-- npu="A3,910b,910,310p,310b" id13 -->