diff options
author | Kai Striega <kaistriega@gmail.com> | 2019-03-19 15:37:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 15:37:18 +0800 |
commit | 9006a1d35fb1a1ebcdbcd0852f6086a73f7a5961 (patch) | |
tree | fff3b9b8a53970566b13e73c08c1eda0882db06f /numpy/doc/basics.py | |
parent | 41e14f938587f95c2c0091c05b850bbd5b86354b (diff) | |
download | numpy-9006a1d35fb1a1ebcdbcd0852f6086a73f7a5961.tar.gz |
DOC: Minor fix in Integer Overflow doc
Change `np.power` -> `numpy.power` to make it reference
the function's documentation
Diffstat (limited to 'numpy/doc/basics.py')
-rw-r--r-- | numpy/doc/basics.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py index 8f9044a0a..61f5bf4ef 100644 --- a/numpy/doc/basics.py +++ b/numpy/doc/basics.py @@ -264,9 +264,9 @@ Overflow Errors =============== The fixed size of NumPy numeric types may cause overflow errors when a value -requires more memory than available in the data type. For example, `np.power` -evaluates ``100 * 10 ** 8`` correctly for 64-bit integers, but gives -1874919424 (incorrect) for a 32-bit integer. +requires more memory than available in the data type. For example, +`numpy.power` evaluates ``100 * 10 ** 8`` correctly for 64-bit integers, +but gives 1874919424 (incorrect) for a 32-bit integer. >>> np.power(100, 8, dtype=np.int64) 10000000000000000 |