From 9006a1d35fb1a1ebcdbcd0852f6086a73f7a5961 Mon Sep 17 00:00:00 2001 From: Kai Striega Date: Tue, 19 Mar 2019 15:37:18 +0800 Subject: DOC: Minor fix in Integer Overflow doc Change `np.power` -> `numpy.power` to make it reference the function's documentation --- numpy/doc/basics.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'numpy/doc') 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 -- cgit v1.2.1