Also mention wxRound() and wxIsSameDouble()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2009-01-12 10:58:26 +00:00
parent 13f184c05f
commit c1009b93fd

View File

@ -43,5 +43,23 @@ wxFloat64 wxConvertFromIeeeExtended(const wxInt8 *bytes);
*/
void wxConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes);
/**
Small wrapper around round().
*/
int wxRound(double x);
/**
Returns true if both double values are identical. This is
only reliable if both values have been assigned the same
value.
*/
bool wxIsSameDouble(double x, double y);
/**
Return true of @a x is exactly zero. This is only reliable
if it has been assigned 0.
*/
bool wxIsNullDouble(double x);
//@}