summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-12-27 17:40:43 +0000
committerGitHub <noreply@github.com>2020-12-27 17:40:43 +0000
commit4832edc55ffa7ba66ced716bfebbec05d93f8097 (patch)
tree65e83eddcd908ab97d701ee7aed070b921e2b556 /doc/source/reference
parent7059f0680a97434248d9626a318040adf9531626 (diff)
downloadnumpy-4832edc55ffa7ba66ced716bfebbec05d93f8097.tar.gz
Update doc/source/reference/arrays.scalars.rst
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/arrays.scalars.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/arrays.scalars.rst b/doc/source/reference/arrays.scalars.rst
index 0e2f4d7b9..227d12d4d 100644
--- a/doc/source/reference/arrays.scalars.rst
+++ b/doc/source/reference/arrays.scalars.rst
@@ -197,8 +197,8 @@ Inexact types
whereas the other types do not as they have more precision and therefore have
closer values.
- Conversely, the same value approximated at different precisions may compare
- unequal despite printing identically:
+ Conversely, floating-point scalars of different precisions which approximate
+ the same decimal value may compare unequal despite printing identically:
>>> f16 = np.float16("0.1")
>>> f32 = np.float32("0.1")