Home | History | Annotate | Download | only in platform

Lines Matching full:decimal

45 // This class represents decimal base floating point number.
47 // FIXME: Once all C++ compiler support decimal type, we should replace this
48 // class to compiler supported one. See below URI for current status of decimal
50 class PLATFORM_EXPORT Decimal {
61 friend class Decimal;
97 Decimal(int32_t = 0);
98 Decimal(Sign, int exponent, uint64_t coefficient);
99 Decimal(const Decimal&);
101 Decimal& operator=(const Decimal&);
102 Decimal& operator+=(const Decimal&);
103 Decimal& operator-=(const Decimal&);
104 Decimal& operator*=(const Decimal&);
105 Decimal& operator/=(const Decimal&);
107 Decimal operator-() const;
109 bool operator==(const Decimal&) const;
110 bool operator!=(const Decimal&) const;
111 bool operator<(const Decimal&) const;
112 bool operator<=(const Decimal&) const;
113 bool operator>(const Decimal&) const;
114 bool operator>=(const Decimal&) const;
116 Decimal operator+(const Decimal&) const;
117 Decimal operator-(const Decimal&) const;
118 Decimal operator*(const Decimal&) const;
119 Decimal operator/(const Decimal&) const;
135 Decimal abs() const;
136 Decimal ceiling() const;
137 Decimal floor() const;
138 Decimal remainder(const Decimal&) const;
139 Decimal round() const;
145 static Decimal fromDouble(double);
153 static Decimal fromString(const String&);
154 static Decimal infinity(Sign);
155 static Decimal nan();
156 static Decimal zero(Sign);
159 explicit Decimal(const EncodedData&);
169 Decimal(double);
170 Decimal compareTo(const Decimal&) const;
172 static AlignedOperands alignOperands(const Decimal& lhs, const Decimal& rhs);