1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Halofreak1990 40c4811c04 Got everything to compile again.
Began transforming of current API to represent XNA 4.0, which is cleaner.
Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating)
Currently hunting down GraphicsDevice initialization
Up next: (hopefully successful) rendering of primitives
2012-09-28 20:36:02 +00:00

40 lines
964 B
C++

#ifndef _SYSTEM_DOUBLE_
#define _SYSTEM_DOUBLE_
#include <System/Interfaces.h>
#include <System/Object.h>
namespace System
{
// Represents a double precision floating point value.
struct Double : IComparable<Double>, IEquatable<Double>, Object
{
private:
double value;
public:
static const double Epsilon;
static const double MaxValue;
static const double MinValue;
static const double NaN;
static const double NegativeInfinity;
static const double PositiveInfinity;
Double(const double &obj);
Double(const Double &obj);
int CompareTo(const Double other) const;
bool Equals(const Double other) const;
int GetHashCode() const;
int GetType() const;
static double Parse(char* str);
const char* ToString() const;
static const char* ToString(const double value);
bool operator !=(const Double right) const;
bool operator ==(const Double right) const;
};
}
#endif //_SYSTEM_DOUBLE_