From 944d69e07e6ded2e5d8268f04340e088f8045d4a Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 27 Nov 2013 23:53:13 -0600 Subject: [PATCH] Fix ambiguous comment about complex arithmetic in docs --- doc/array.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/array.rst b/doc/array.rst index 0f3252f6..25d1a421 100644 --- a/doc/array.rst +++ b/doc/array.rst @@ -99,9 +99,11 @@ autodetected. Under the hood, the complex types are simply `float2` and `double2`. .. warning:: - Note that addition (real + complex) and multiplication (complex*complex) - are defined for e.g. `float2`, but yield wrong results, so that you need to - use the corresponding functions. + Note that, at the OpenCL source code level, addition (real + complex) and + multiplication (complex*complex) are defined for e.g. `float2`, but yield + wrong results, so that you need to use the corresponding functions. + (The :mod:`Array` type implements complex arithmetic as you remember it, + without any idiotic quirks like this.) .. versionadded:: 2012.1 -- GitLab