diff options
author | lalitmusmade <lalitmusmade2@gmail.com> | 2021-10-30 15:57:00 +0000 |
---|---|---|
committer | lalitmusmade <lalitmusmade2@gmail.com> | 2021-10-30 15:57:00 +0000 |
commit | d86cad8f714c16f00f483d84f08cc89ec2bf029c (patch) | |
tree | 0dab4812fef7791071a541832b674fe4da2acd7f /numpy | |
parent | d85523a7433baab1734a5436123cda9497124516 (diff) | |
download | numpy-d86cad8f714c16f00f483d84f08cc89ec2bf029c.tar.gz |
DOC: Fixes wording for fmod and remainder functions.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/code_generators/ufunc_docstrings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/code_generators/ufunc_docstrings.py b/numpy/core/code_generators/ufunc_docstrings.py index ab5f74df3..8d9316f2c 100644 --- a/numpy/core/code_generators/ufunc_docstrings.py +++ b/numpy/core/code_generators/ufunc_docstrings.py @@ -1420,7 +1420,7 @@ add_newdoc('numpy.core.umath', 'floor_divide', add_newdoc('numpy.core.umath', 'fmod', """ - Return the element-wise remainder of division. + Returns the element-wise remainder of division. This is the NumPy implementation of the C library function fmod, the remainder has the same sign as the dividend `x1`. It is equivalent to @@ -3332,7 +3332,7 @@ add_newdoc('numpy.core.umath', 'reciprocal', add_newdoc('numpy.core.umath', 'remainder', """ - Return element-wise remainder of division. + Returns the element-wise remainder of division. Computes the remainder complementary to the `floor_divide` function. It is equivalent to the Python modulus operator``x1 % x2`` and has the same sign |