Diffstat (limited to 'noncore/unsupported/qpdf/fixed.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/qpdf/fixed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/qpdf/fixed.h b/noncore/unsupported/qpdf/fixed.h index c912954..e42aea0 100644 --- a/noncore/unsupported/qpdf/fixed.h +++ b/noncore/unsupported/qpdf/fixed.h | |||
@@ -177,13 +177,13 @@ template <unsigned int SH> inline fixed<SH> sqrt ( const fixed<SH> &f ) | |||
177 | a1 = ( a0 + fixed<SH>::div ( f. m_f, a0 )) >> 1; | 177 | a1 = ( a0 + fixed<SH>::div ( f. m_f, a0 )) >> 1; |
178 | } while ( abs ( fixed<SH>::div ( a1 - a0, a1 )) > 1 ); | 178 | } while ( abs ( fixed<SH>::div ( a1 - a0, a1 )) > 1 ); |
179 | 179 | ||
180 | return fixed<SH> ( a1, true ); | 180 | return fixed<SH> ( a1, true ); |
181 | } | 181 | } |
182 | 182 | ||
183 | template <unsigned int SH> inline ostream &operator << ( ostream &o, const fixed<SH> &f ) | 183 | template <unsigned int SH> inline std::ostream &operator << ( std::ostream &o, const fixed<SH> &f ) |
184 | { | 184 | { |
185 | o << double( f ); | 185 | o << double( f ); |
186 | return o; | 186 | return o; |
187 | } | 187 | } |
188 | 188 | ||
189 | #endif | 189 | #endif |