Skip to content
Snippets Groups Projects
Commit 944d69e0 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix ambiguous comment about complex arithmetic in docs

parent 7f07d5b2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment