Arithmetic/Rational: Difference between revisions
Content added Content deleted
(New post without using external libraries, in addition to an existing post which uses the external library "Boost".) |
m (Correcting an error in formatting.) |
||
Line 559: | Line 559: | ||
}</syntaxhighlight> |
}</syntaxhighlight> |
||
===Without external libraries=== |
|||
=={{header|C++}}== |
=={{header|C++}}== |
||
<syntaxhighlight lang="c++"> |
<syntaxhighlight lang="c++"> |