LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1997--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 den_ = r.den_; | 112 den_ = r.den_; |
113 } | 113 } |
114 | 114 |
115 #if 0 | 115 #if 0 |
116 ostream & | 116 ostream & |
117 operator << (ostream &, Rational); | 117 operator << (ostream &, Rational); |
118 #endif | 118 #endif |
119 | 119 |
120 const Rational infinity_rat (U64_MAX); | 120 const Rational infinity_rat (U64_MAX); |
121 | 121 |
| 122 inline string |
| 123 to_string (Rational const &r) |
| 124 { |
| 125 return r.to_string (); |
| 126 } |
| 127 |
122 #endif // RATIONAL_HH | 128 #endif // RATIONAL_HH |
LEFT | RIGHT |