File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
33> Array API specification for constants.
44
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.
68
79<!-- NOTE: please keep the constants in alphabetical order -->
810
@@ -11,7 +13,7 @@ A conforming implementation of the array API standard must provide and support t
1113(constant-e)=
1214### e
1315
14- Euler's constant.
16+ IEEE 754 floating-point representation of Euler's constant.
1517
1618``` text
1719e = 2.71828182845904523536028747135266249775724709369995...
@@ -30,7 +32,7 @@ IEEE 754 floating-point representation of Not a Number (`NaN`).
3032(constant-pi)=
3133### pi
3234
33- The mathematical constant ` π ` .
35+ IEEE 754 floating-point representation of the mathematical constant ` π ` .
3436
3537``` text
3638pi = 3.1415926535897932384626433...
You can’t perform that action at this time.
0 commit comments