Skip to content

Commit f69dd9a

Browse files
committed
Merge branch 'main' of https://github.com/data-apis/array-api into main
2 parents a1b6290 + 27bdfbe commit f69dd9a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spec/API_specification/elementwise_functions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,9 @@ each element `x1_i` of the input array `x1` with the respective element `x2_i` o
944944

945945
For floating-point operands,
946946

947-
- If either `x1_i` or `x2_i` is `NaN`, the result is `NaN`.
948-
- If either `x1_i` or `x2_i` is `+infinity`, the result is `+infinity`.
947+
- If either `x1_i` or `x2_i` is `NaN`, the result is `NaN`.
948+
- If `x1_i` is `+infinity` and `x2_i` is not `NaN`, the result is `+infinity`.
949+
- If `x1_i` is not `NaN` and `x2_i` is `+infinity`, the result is `+infinity`.
949950

950951
#### Parameters
951952

spec/API_specification/type_promotion.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ where
7070
| **i1** | i2 | i4 | i8 |
7171
| **i2** | i2 | i4 | i8 |
7272
| **i4** | i4 | i4 | i8 |
73+
| **i8** | i8 | i8 | i8 |
7374

7475
### Floating-point type promotion table
7576

0 commit comments

Comments
 (0)