<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>The reason why I wanted to mention N/D here is I wanted to be 100% clear where the remainder was coming from. Would this be clearer?</div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><div id=":1a8" style="overflow: hidden;">  /// \brief Scale the given BlockFrequency by BranchProbability Prob = N/D. Return the remainder from<br>+  /// the division by D. Upon overflow, the routine will saturate.</div></blockquote></div></div></div></blockquote></div><div><br></div><div>Michael</div><br><div><div>On Nov 16, 2013, at 7:56 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 16, 2013 at 7:25 PM, Michael Gottesman <span dir="ltr"><<a href="mailto:mgottesman@apple.com" target="_blank" class="cremed">mgottesman@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;"><div id=":1a8" style="overflow:hidden">+  /// \brief Scale the given BlockFrequency by N/D. Return the remainder from<br>

+  /// the division by D. Upon overflow, the routine will saturate.<br>
+  uint32_t scale(const BranchProbability &Prob);<br>
+</div></blockquote></div><br>There is no N or D here really. I would explain this more in terms of Prob?</div></div>
</blockquote></div><br></body></html>