From b6452f4bcf43f904b538e5993dd1660d27b60b45 Mon Sep 17 00:00:00 2001 From: Ilya Lysenkov Date: Mon, 9 Apr 2012 10:50:27 +0000 Subject: [PATCH] Added a note that cv::pow() doesn't handle NaN and Inf values (#1739) --- modules/core/doc/operations_on_arrays.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/core/doc/operations_on_arrays.rst b/modules/core/doc/operations_on_arrays.rst index c32c35f86d..41c6a29824 100644 --- a/modules/core/doc/operations_on_arrays.rst +++ b/modules/core/doc/operations_on_arrays.rst @@ -2423,6 +2423,8 @@ So, for a non-integer power exponent, the absolute values of input array element For some values of ``p`` , such as integer values, 0.5 and -0.5, specialized faster algorithms are used. +Special values (NaN, Inf) are not handled. + .. seealso:: :ocv:func:`sqrt`,