Alternative solution using union

This commit is contained in:
Zlodiy
2014-06-05 15:11:06 +11:00
parent f3100a8bd1
commit cbfd5e980e

View File

@@ -2,6 +2,7 @@
#define _PYC_NUMERIC_H
#include "pyc_object.h"
#include "data.h"
#include <list>
#include <string>
@@ -97,7 +98,7 @@ private:
{
Pyc_INT64 m_value_i64;
double m_value;
}
};
};
class PycCComplex : public PycCFloat {
@@ -120,7 +121,7 @@ private:
{
Pyc_INT64 m_imag_i64;
double m_imag;
}
};
};
#endif