]> git.saurik.com Git - wxWidgets.git/commitdiff
document wxConvertFromIeeeExtended and wxConvertToIeeeExtended
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 17:56:52 +0000 (17:56 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 17:56:52 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/math.h

index 604770386326bd8a7bff8215837f9f75d5e6bbb8..348d2b981638584a1a60a3e2d304ee60172e21ad 100644 (file)
@@ -24,5 +24,24 @@ int wxFinite(double x);
 */
 bool wxIsNaN(double x);
 
+/**
+    Converts the given array of 10 bytes (corresponding to 80 bits) to
+    a float number according to the IEEE floating point standard format
+    (aka IEEE standard 754).
+
+    @see wxConvertToIeeeExtended() to perform the opposite operation
+*/
+wxFloat64 wxConvertFromIeeeExtended(const wxInt8 *bytes);
+
+/**
+    Converts the given floating number @a num in a sequence of 10 bytes
+    which are stored in the given array @a bytes (which must be large enough)
+    according to the IEEE floating point standard format
+    (aka IEEE standard 754).
+
+    @see wxConvertFromIeeeExtended() to perform the opposite operation
+*/
+void wxConvertToIeeeExtended(wxFloat64 num, wxInt8 *bytes);
+
 //@}