#include "wx/txtstrm.h"
#endif
-#if defined(__MWERKS__) && defined(__WXMSW__)
- #include <string.h> // for memset()
-#else
- #include <memory.h> // for memset()
-#endif
+#include <string.h> // for memset()
#include "wx/ioswrap.h"
return d;
}
+double wxULongLongWx::ToDouble() const
+{
+ unsigned double d = m_hi;
+ d *= 1.0 + (double)ULONG_MAX;
+ d += m_lo;
+
+#ifdef wxLONGLONG_TEST_MODE
+ wxASSERT( d == m_ll );
+#endif // wxLONGLONG_TEST_MODE
+
+ return d;
+}
+
wxLongLongWx wxLongLongWx::operator<<(int shift) const
{
wxLongLongWx ll(*this);