summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.ufunc.rst
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-10-02 19:29:38 +0000
committerPauli Virtanen <pav@iki.fi>2009-10-02 19:29:38 +0000
commit65cc08216ffcd7a330f7a44991cd46bd0f14aa51 (patch)
tree16fc29c9c4276fa23ff956836d0f5be962c33fb9 /doc/source/reference/c-api.ufunc.rst
parente434cd50f2483dd3a6a4517656a4d34aba9db62c (diff)
downloadnumpy-65cc08216ffcd7a330f7a44991cd46bd0f14aa51.tar.gz
Docstring update: doc/source/reference
Diffstat (limited to 'doc/source/reference/c-api.ufunc.rst')
-rw-r--r--doc/source/reference/c-api.ufunc.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst
index 6a6a0dff0..fc8b5b6b1 100644
--- a/doc/source/reference/c-api.ufunc.rst
+++ b/doc/source/reference/c-api.ufunc.rst
@@ -106,7 +106,13 @@ Functions
XXX: Undocumented
:param name:
- The name for the ufunc.
+ The name for the ufunc. Specifying a name of 'add' or
+ 'multiply' enables a special behavior for integer-typed
+ reductions when no dtype is given. If the input type is an
+ integer (or boolean) data type smaller than the size of the int_
+ data type, it will be internally upcast to the int_ (or uint)
+ data type.
+
:param doc:
Allows passing in a documentation string to be stored with the