<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Sep 26, 2017, at 11:25 AM, Bob Mathews <<a href="mailto:bobmath11@icloud.com" class="">bobmath11@icloud.com</a>> wrote:</div><div class=""><div class="">Perl6 Deep Dive p58:<br class=""><blockquote type="cite" class="">Thus, any Rat number is a rational value equal to the division N/D. The integer numerator part is a value that can be arbitrarily long. The denominator part is a 64-bit integer.<br class=""></blockquote></div></div></blockquote></div><br class=""><div class="">So it turns out that:</div><div class="">a) The book is incomplete. FatRat doesn’t have this behavior, but it’s not mentioned. I thought we were diving deep here.</div><div class="">b) The book is wrong. It is possible to create a Rat with a denominator larger than 64 bits, though it “usually” enforces that limit.</div><div class="">c) Perl6 is buggy. No surprise here.</div><div class=""><pre class="code"><tt class="codetext">> say 1.111111111111111111111
1.11111111111111111604544</tt></pre><div class=""> -bob</div></div></body></html>