You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/API_specification/data_types.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -50,14 +50,19 @@ IEEE 754 single-precision (32-bit) binary floating-point number (see IEEE 754-20
50
50
51
51
IEEE 754 double-precision (64-bit) binary floating-point number (see IEEE 754-2019).
52
52
53
+
```{note}
54
+
IEEE 754-2019 requires support for subnormal (a.k.a., denormal) numbers, which are useful for supporting gradual underflow. However, hardware support for subnormal numbers is not universal, and many platforms (e.g., accelerators) and compilers support toggling denormals-are-zero (DAZ) and/or flush-to-zero (FTZ) behavior to increase performance and to guard against timing attacks.
55
+
56
+
Accordingly, subnormal behavior is left unspecified and, thus, implementation-defined. Conforming implementations may vary in their support for subnormal numbers.
57
+
```
53
58
54
59
:::{admonition} Future extension
55
60
:class: hint
56
-
`complex64` and `complex128`dtypes are expected to be included in the next
61
+
`complex64` and `complex128`data types are expected to be included in the next
57
62
version of this standard and to have the following casting rules (will be added
58
63
to {ref}`type-promotion`):
59
64
60
-

65
+

61
66
62
67
See [array-api/issues/102](https://github.com/data-apis/array-api/issues/102)
63
68
for more details.
@@ -132,7 +137,7 @@ The default data types should be clearly defined in a conforming library's docum
132
137
For the purpose of organizing functions within this specification, the following data type categories are defined.
133
138
134
139
```{note}
135
-
Conforming libraries are not required to organize dtypes according to these categories. These
140
+
Conforming libraries are not required to organize data types according to these categories. These
136
141
categories are only intended for use within this specification.
0 commit comments