Skip to content

Commit 8742170

Browse files
authored
[oneMath][Vector Math] fix typo in Mathematical Functions docs (#626)
* cbrt: rm dup row Signed-off-by: Chengyu HAN <[email protected]> * acospi: typo fix Signed-off-by: Chengyu HAN <[email protected]> * atanh: fix typo `atanh(+inf) == NaN` C23: F.10.2.3 The atanh functions — atanh(x) returns a NaN and raises the "invalid" floating-point exception for |x| > 1. Signed-off-by: Chengyu HAN <[email protected]> * expm1: fix typo From C23: F.10.3.6 The expm1 functions — expm1(±0) returns ±0 — expm1(−∞) returns −1 — expm1(+∞) returns +∞ Signed-off-by: Chengyu HAN <[email protected]> * tanpi: fix typo C23: F.10.1.14 The tanpi functions — tanpi(±0) returns ±0. Signed-off-by: Chengyu HAN <[email protected]> --------- Signed-off-by: Chengyu HAN <[email protected]>
1 parent 51eec18 commit 8742170

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

source/elements/oneMath/source/domains/vm/acospi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ acospi
114114
* - +∞
115115
- QNAN
116116
- ``oneapi::math::vm::status::errdom``
117-
* - -
117+
* - -∞
118118
- QNAN
119119
- ``oneapi::math::vm::status::errdom``
120120
* - QNAN

source/elements/oneMath/source/domains/vm/atanh.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ atanh
110110
- QNAN
111111
- ``oneapi::math::vm::status::errdom``
112112
* - +∞
113-
- +∞
113+
- QNAN
114114
- ``oneapi::math::vm::status::errdom``
115115
* - QNAN
116116
- QNAN

source/elements/oneMath/source/domains/vm/cbrt.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ cbrt
8080
:class: sectiontitle
8181

8282

83-
The cbrt(a)function computes a cube root of vector elements.
83+
The `cbrt(a)` function computes a cube root of vector elements.
8484

8585

8686
.. container:: tablenoborder
@@ -110,9 +110,6 @@ cbrt
110110
* - SNAN
111111
- QNAN
112112
-  
113-
* - +0
114-
- +0
115-
-  
116113

117114

118115

source/elements/oneMath/source/domains/vm/expm1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ expm1
9797
- Result
9898
- Status code
9999
* - +0
100-
- +1
100+
- +0
101101
-  
102102
* - -0
103-
- +1
103+
- -0
104104
-  
105105
* - a > overflow
106106
- +∞
@@ -109,7 +109,7 @@ expm1
109109
- +∞
110110
-  
111111
* - -∞
112-
- -0
112+
- -1
113113
-  
114114
* - QNAN
115115
- QNAN

source/elements/oneMath/source/domains/vm/tanpi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tanpi
100100
- +0
101101
-  
102102
* - -0
103-
- +0
103+
- -0
104104
-  
105105
* - ``n``, even integer
106106
- \*copysign(0.0, ``n``)

0 commit comments

Comments
 (0)