<div dir="ltr">We seem to have become distracted with the whole Time Signature thing. Time signatures themselves are not Rationals. I should have said "Metrical Time" and left it at that. My point has always been that metrical time calls for the use of Rationals.<div>TJ</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 7, 2015 at 9:20 PM, Matthew Johnson <span dir="ltr"><<a href="mailto:matthew@anandabits.com" target="_blank">matthew@anandabits.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> If your implementation of Rational simplifies immediately, sure. Mine doesn't and it is useful in many other cases not to as well. You might, for example, want to present the original numerator/denominator provided by the user.<br>
<br>
</span>How does your implementation implement equality? From a numeric standpoint I think most people would consider 3/4 to be equal to 6/8 whereas this would not be correct for a time signature.<br>
<br>
In any case, I agree that a rational type would be a useful addition to the library. I don't think I would use it to model time signatures but there are plenty of other uses.</blockquote></div><br></div>