X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23324ae1c7938ba904770fc456d3c07764b9c5e9..de536319f16406adf967003637b2655c61f6cb09:/interface/math.h diff --git a/interface/math.h b/interface/math.h index db1265755e..e60620eaa5 100644 --- a/interface/math.h +++ b/interface/math.h @@ -1,16 +1,28 @@ ///////////////////////////////////////////////////////////////////////////// - // Name: math.h - // Purpose: documentation for global functions - // Author: wxWidgets team - // RCS-ID: $Id$ - // Licence: wxWindows license - ///////////////////////////////////////////////////////////////////////////// - - /** - Returns a non-zero value if @e x is neither infinite nor NaN (not a number), - returns 0 otherwise. +// Name: math.h +// Purpose: interface of global functions +// Author: wxWidgets team +// RCS-ID: $Id$ +// Licence: wxWindows license +///////////////////////////////////////////////////////////////////////////// + +/** @ingroup group_funcmacro_math */ +//@{ + +/** + Returns a non-zero value if @a x is neither infinite nor NaN (not a + number), returns 0 otherwise. + + @header{wx/math.h} */ int wxFinite(double x); +/** + Returns a non-zero value if x is NaN (not a number), returns 0 otherwise. + + @header{wx/math.h} +*/ +bool wxIsNaN(double x); + +//@} - \ No newline at end of file