| |
1-32 Abbildende C++-Sprache, v1.1 Juni 2003 1 { Öffentlichkeit: // Erbauer Fixed(int val = 0); Fixed(unsigned val); Fixed(Long val); Fixed(ULong val); Fixed(LongLong val); Fixed(ULongLong val); Fixed(Double val); Fixed(LongDouble val); Fixed(const Fixed& val); Putzfrau Fixed(const *); ~Fixed(); // Umwandlungen const OperatorLongLong(); const OperatorLongDouble(); Örtlich festgelegtes round(UShortskala) const; Örtlich festgelegtes truncate(UShortskala) const; Anmerkung: Ausgabe 3944 Putzfrau * to_string() const; // Operatoren Operator=(const Fixed& Fixed& val); Fixed& operator+=(const Fixed& val); Operator-=(const Fixed& Fixed& val); Operator*=(const Fixed& Fixed& val); Fixed& operator/=(const Fixed& val); Fixed& operator++(); Örtlich festgelegtes operator++(int); Operator Fixed& -- (); Örtlich festgelegter Operator -- (int); Örtlich festgelegtes operator+() const; Örtlich festgelegtes Operator-()const; Boolesches operator!()const; // andere Mitgliedsfunktionen Fixed_digits()const UShort; Fixed_scale()const UShort; }; istream&operator>>(istream& ist, val Fixed&); ostream&operator<<(ostream&-OS, const Fixed& val); Örtlich festgelegter Operator + (const Fixed& val1, const Fixed& val2); Örtlich festgelegter Operator - (const Fixed& val1, const Fixed& val2); Örtlich festgelegter Operator * (const Fixed& val1, const Fixed& val2); Örtlich festgelegter Operator/(const Fixed& val1, const Fixed& val2); |  |
|
| |
|
|