File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
> Array API specification for constants.
4
4
5
- A conforming implementation of the array API standard must provide and support the following constants.
5
+ A conforming implementation of the array API standard must provide and support the following constants adhering to the following conventions.
6
+
7
+ - Each constant must have a Python floating-point data type (i.e., ` float ` ) and be provided as a Python scalar value.
6
8
7
9
<!-- NOTE: please keep the constants in alphabetical order -->
8
10
@@ -11,7 +13,7 @@ A conforming implementation of the array API standard must provide and support t
11
13
(constant-e)=
12
14
### e
13
15
14
- Euler's constant.
16
+ IEEE 754 floating-point representation of Euler's constant.
15
17
16
18
``` text
17
19
e = 2.71828182845904523536028747135266249775724709369995...
@@ -30,7 +32,7 @@ IEEE 754 floating-point representation of Not a Number (`NaN`).
30
32
(constant-pi)=
31
33
### pi
32
34
33
- The mathematical constant ` π ` .
35
+ IEEE 754 floating-point representation of the mathematical constant ` π ` .
34
36
35
37
``` text
36
38
pi = 3.1415926535897932384626433...
You can’t perform that action at this time.
0 commit comments