<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>
</head>
<body>
<style type="text/css">
img {
max-width: 100%; height: auto;
}
</style>
<div class="content">
<h3>
Gary E. Miller pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/c77b2593e382664de948d040ee719ccc554c9551">c77b2593</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-04-14T22:19:41+00:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Fixed 0.000, and filt* display errors. Added relevant tests.
</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class="file-stats">
<a href="#a61fb9541c7ffe95e3b809ea55001114580d13e4">
pylib/util.py
</a>
</li>
<li class="file-stats">
<a href="#212369a2f3b2454ae6823fc589f4a77ae148f6cd">
tests/pylib/test_util.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="a61fb9541c7ffe95e3b809ea55001114580d13e4">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/c77b2593e382664de948d040ee719ccc554c9551#a61fb9541c7ffe95e3b809ea55001114580d13e4"><strong>pylib/util.py</strong></a>
<hr>
<table class="code white" style="-premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%; background: #fff; font-family: monospace; font-size: 12px" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="94" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="94" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -94,14 +94,19 @@ def stringfiltcooker(data):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="94" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
94
</td>
<td class="diff-line-num new_line" data-linenumber="94" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
94
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC94" class="line" lang="python"> <span class="s" style="color: #d14">"Cooks a filt* string of space seperated numbers, expects milliseconds"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="95" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
95
</td>
<td class="diff-line-num new_line" data-linenumber="95" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
95
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC95" class="line" lang="python"> <span class="n" style="color: #333">parts</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">data</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">split</span><span class="p">()</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="96" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
96
</td>
<td class="diff-line-num new_line" data-linenumber="96" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
96
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC96" class="line" lang="python"> <span class="n" style="color: #333">oomcount</span> <span class="o" style="font-weight: bold">=</span> <span class="p">{}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="97" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="97" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
97
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC97" class="line" lang="python"> <span class="n" style="color: #333">minscale</span> <span class="o" style="font-weight: bold">=</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">100000</span> <span class="c" style="color: #998; font-style: italic"># Keep track of the maxdownscale for each value</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="97" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
97
</td>
<td class="diff-line-num new_line" data-linenumber="98" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
98
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC98" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Find out what the 'natural' unit of each value is</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="98" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
98
</td>
<td class="diff-line-num new_line" data-linenumber="99" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
99
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC99" class="line" lang="python"> <span class="k" style="font-weight: bold">for</span> <span class="n" style="color: #333">part</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">parts</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="99" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
99
</td>
<td class="diff-line-num new_line" data-linenumber="100" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
100
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC100" class="line" lang="python"> <span class="n" style="color: #333">value</span><span class="p">,</span> <span class="n" style="color: #333">oom</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">scalestring</span><span class="p">(</span><span class="n" style="color: #333">part</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="100" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="101" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
101
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC101" class="line" lang="python"> <span class="n" style="color: #333">ds</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">maxdownscale</span><span class="p">(</span><span class="n" style="color: #333">part</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="100" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="102" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
102
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC102" class="line" lang="python"> <span class="n" style="color: #333">minscale</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">max</span><span class="p">(</span><span class="n" style="color: #333">ds</span><span class="p">,</span> <span class="n" style="color: #333">minscale</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="100" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
100
</td>
<td class="diff-line-num new_line" data-linenumber="103" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
103
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC103" class="line" lang="python"> <span class="n" style="color: #333">oomcount</span><span class="p">[</span><span class="n" style="color: #333">oom</span><span class="p">]</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">oomcount</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">get</span><span class="p">(</span><span class="n" style="color: #333">oom</span><span class="p">,</span> <span class="mi" style="color: #099">0</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="mi" style="color: #099">1</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="101" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
101
</td>
<td class="diff-line-num new_line" data-linenumber="104" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
104
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC104" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Find the most common unit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="102" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
102
</td>
<td class="diff-line-num new_line old" data-linenumber="105" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC102" class="line" lang="python"> <span class="n" style="color: #333">mostcommon</span> <span class="o" style="font-weight: bold">=</span> <span class="bp" style="color: #999"><span class="idiff left right">None</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="103" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="105" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
105
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC105" class="line" lang="python"> <span class="n" style="color: #333">mostcommon</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099"><span class="idiff left right">0</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="103" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
103
</td>
<td class="diff-line-num new_line" data-linenumber="106" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
106
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC106" class="line" lang="python"> <span class="n" style="color: #333">highestcount</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099">0</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="104" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
104
</td>
<td class="diff-line-num new_line" data-linenumber="107" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
107
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC107" class="line" lang="python"> <span class="k" style="font-weight: bold">for</span> <span class="n" style="color: #333">key</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">oomcount</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">keys</span><span class="p">():</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="105" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="108" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
108
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC108" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">key</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">minscale</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="105" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="109" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
109
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC109" class="line" lang="python"> <span class="k" style="font-weight: bold">continue</span> <span class="c" style="color: #998; font-style: italic"># skip any scale that would result in making up data</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="105" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
105
</td>
<td class="diff-line-num new_line" data-linenumber="110" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
110
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC110" class="line" lang="python"> <span class="n" style="color: #333">count</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">oomcount</span><span class="p">[</span><span class="n" style="color: #333">key</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="106" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
106
</td>
<td class="diff-line-num new_line" data-linenumber="111" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
111
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC111" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">count</span> <span class="o" style="font-weight: bold">></span> <span class="n" style="color: #333">highestcount</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="107" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
107
</td>
<td class="diff-line-num new_line" data-linenumber="112" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
112
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC112" class="line" lang="python"> <span class="n" style="color: #333">mostcommon</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">key</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="162" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="167" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -162,6 +167,15 @@ def gluenumberstring(above, below, isnegative):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="162" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
162
</td>
<td class="diff-line-num new_line" data-linenumber="167" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
167
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC167" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">newvalue</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="163" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
163
</td>
<td class="diff-line-num new_line" data-linenumber="168" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
168
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC168" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="164" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
164
</td>
<td class="diff-line-num new_line" data-linenumber="169" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
169
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC169" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="170" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
170
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC170" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">maxdownscale</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">):</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="171" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
171
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC171" class="line" lang="python"> <span class="s" style="color: #d14">"Maximum units a value can be scaled down without inventing data"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="172" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
172
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC172" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="s" style="color: #d14">"."</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">value</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="173" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
173
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC173" class="line" lang="python"> <span class="n" style="color: #333">digitcount</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">split</span><span class="p">(</span><span class="s" style="color: #d14">"."</span><span class="p">)[</span><span class="mi" style="color: #099">1</span><span class="p">])</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="174" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
174
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC174" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="o" style="font-weight: bold">-</span><span class="p">(</span><span class="n" style="color: #333">digitcount</span> <span class="o" style="font-weight: bold">//</span> <span class="mi" style="color: #099">3</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="175" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
175
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC175" class="line" lang="python"> <span class="k" style="font-weight: bold">else</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="176" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
176
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC176" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="mi" style="color: #099">0</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="177" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
177
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC177" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="165" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="178" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
178
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC178" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="165" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
165
</td>
<td class="diff-line-num new_line" data-linenumber="179" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
179
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC179" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">rescalestring</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">,</span> <span class="n" style="color: #333">unitsscaled</span><span class="p">):</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="166" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
166
</td>
<td class="diff-line-num new_line" data-linenumber="180" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
180
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC180" class="line" lang="python"> <span class="s" style="color: #d14">"Rescale a number string by a given number of units"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="167" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
167
</td>
<td class="diff-line-num new_line" data-linenumber="181" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
181
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC181" class="line" lang="python"> <span class="n" style="color: #333">whole</span><span class="p">,</span> <span class="n" style="color: #333">dec</span><span class="p">,</span> <span class="n" style="color: #333">negative</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">breaknumberstring</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="173" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="187" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -173,8 +187,10 @@ def rescalestring(value, unitsscaled):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="173" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
173
</td>
<td class="diff-line-num new_line" data-linenumber="187" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
187
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC187" class="line" lang="python"> <span class="n" style="color: #333">hilen</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">whole</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="174" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
174
</td>
<td class="diff-line-num new_line" data-linenumber="188" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
188
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC188" class="line" lang="python"> <span class="n" style="color: #333">lolen</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">dec</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="175" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
175
</td>
<td class="diff-line-num new_line" data-linenumber="189" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
189
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC189" class="line" lang="python"> <span class="n" style="color: #333">digitsmoved</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">abs</span><span class="p">(</span><span class="n" style="color: #333">unitsscaled</span> <span class="o" style="font-weight: bold">*</span> <span class="mi" style="color: #099">3</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="176" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
176
</td>
<td class="diff-line-num new_line old" data-linenumber="190" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC176" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">unitsscaled</span> <span class="o" style="font-weight: bold">></span> <span class="mi" style="color: #099">0</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># Scale to a larger unit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="177" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
177
</td>
<td class="diff-line-num new_line old" data-linenumber="190" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC177" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">hilen</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">digitsmoved</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># Scaling beyond the digits, pad it out</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="178" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="190" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
190
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC190" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">unitsscaled</span> <span class="o" style="font-weight: bold">></span> <span class="mi" style="color: #099">0</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># Scale to a larger unit, move decimal left</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="178" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="191" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
191
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC191" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">hilen</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">digitsmoved</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="178" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
192
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC192" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scaling beyond the digits, pad it out. We can pad here</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="178" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="193" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
193
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC193" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># without making up digits that don't exist</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="178" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
178
</td>
<td class="diff-line-num new_line" data-linenumber="194" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
194
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC194" class="line" lang="python"> <span class="n" style="color: #333">padcount</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">digitsmoved</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">hilen</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="179" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
179
</td>
<td class="diff-line-num new_line" data-linenumber="195" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
195
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC195" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"0"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="180" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
180
</td>
<td class="diff-line-num new_line" data-linenumber="196" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
196
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC196" class="line" lang="python"> <span class="n" style="color: #333">newdec</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="s" style="color: #d14">"0"</span> <span class="o" style="font-weight: bold">*</span> <span class="n" style="color: #333">padcount</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">whole</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">dec</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="184" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="200" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -184,14 +200,16 @@ def rescalestring(value, unitsscaled):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="184" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
184
</td>
<td class="diff-line-num new_line" data-linenumber="200" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
200
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC200" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">whole</span><span class="p">[:</span><span class="n" style="color: #333">choppoint</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="185" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
185
</td>
<td class="diff-line-num new_line" data-linenumber="201" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
201
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC201" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">==</span> <span class="s" style="color: #d14">""</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="186" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
186
</td>
<td class="diff-line-num new_line" data-linenumber="202" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
202
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC202" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"0"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="187" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
187
</td>
<td class="diff-line-num new_line old" data-linenumber="203" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC187" class="line" lang="python"> <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">unitsscaled</span> <span class="o" style="font-weight: bold"><</span> <span class="mi" style="color: #099">0</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># scale to a smaller unit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="188" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
188
</td>
<td class="diff-line-num new_line old" data-linenumber="203" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC188" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">lolen</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">digitsmoved</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># Scaling beyone the digits, pad it out</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="189" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
189
</td>
<td class="diff-line-num new_line old" data-linenumber="203" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC189" class="line" lang="python"> <span class="n" style="color: #333">padcount</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">digitsmoved</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">lolen</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="190" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
190
</td>
<td class="diff-line-num new_line old" data-linenumber="203" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC190" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">whole</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">dec</span> <span class="o" style="font-weight: bold">+</span> <span class="p">(</span><span class="s" style="color: #d14">"0"</span> <span class="o" style="font-weight: bold">*</span> <span class="n" style="color: #333">padcount</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="191" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
191
</td>
<td class="diff-line-num new_line old" data-linenumber="203" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC191" class="line" lang="python"> <span class="n" style="color: #333">newdec</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">""</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="203" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
203
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC203" class="line" lang="python"> <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">unitsscaled</span> <span class="o" style="font-weight: bold"><</span> <span class="mi" style="color: #099">0</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># scale to a smaller unit, move decimal right</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="204" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
204
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC204" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">lolen</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">digitsmoved</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="205" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
205
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC205" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scaling beyond the digits would force us to make up data</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="206" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
206
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC206" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># that doesn't exist. So fail.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="207" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
207
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC207" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># The caller should have already caught this with maxdownscale()</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="192" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="208" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
208
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC208" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="bp" style="color: #999">None</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="192" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
192
</td>
<td class="diff-line-num new_line" data-linenumber="209" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
209
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC209" class="line" lang="python"> <span class="k" style="font-weight: bold">else</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="193" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
193
</td>
<td class="diff-line-num new_line" data-linenumber="210" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
210
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC210" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">whole</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">dec</span><span class="p">[:</span><span class="n" style="color: #333">digitsmoved</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="194" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
194
</td>
<td class="diff-line-num new_line" data-linenumber="211" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
211
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC211" class="line" lang="python"> <span class="n" style="color: #333">newdec</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">dec</span><span class="p">[</span><span class="n" style="color: #333">digitsmoved</span><span class="p">:]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="195" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="212" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
212
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC212" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">newwhole</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">lstrip</span><span class="p">(</span><span class="s" style="color: #d14">"0"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="195" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
195
</td>
<td class="diff-line-num new_line" data-linenumber="213" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
213
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC213" class="line" lang="python"> <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">gluenumberstring</span><span class="p">(</span><span class="n" style="color: #333">newwhole</span><span class="p">,</span> <span class="n" style="color: #333">newdec</span><span class="p">,</span> <span class="n" style="color: #333">negative</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="196" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
196
</td>
<td class="diff-line-num new_line" data-linenumber="214" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
214
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC214" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">newvalue</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="197" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
197
</td>
<td class="diff-line-num new_line" data-linenumber="215" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
215
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC215" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="215" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="233" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -215,7 +233,12 @@ def scalestring(value):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="215" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
215
</td>
<td class="diff-line-num new_line" data-linenumber="233" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
233
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC233" class="line" lang="python"> <span class="k" style="font-weight: bold">else</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="216" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
216
</td>
<td class="diff-line-num new_line" data-linenumber="234" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
234
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC234" class="line" lang="python"> <span class="n" style="color: #333">lounits</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">i</span> <span class="o" style="font-weight: bold">//</span> <span class="mi" style="color: #099">3</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="mi" style="color: #099">1</span> <span class="c" style="color: #998; font-style: italic"># always need to shift one more unit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="217" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
217
</td>
<td class="diff-line-num new_line" data-linenumber="235" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
235
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC235" class="line" lang="python"> <span class="n" style="color: #333">movechars</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">lounits</span> <span class="o" style="font-weight: bold">*</span> <span class="mi" style="color: #099">3</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="218" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
218
</td>
<td class="diff-line-num new_line old" data-linenumber="236" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC218" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">dec</span><span class="p">[:</span><span class="n" style="color: #333">movechars</span><span class="p">]</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">lstrip</span><span class="p">(</span><span class="s" style="color: #d14">'0'</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="236" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
236
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC236" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">lolen</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">movechars</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="237" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
237
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC237" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Not enough digits to scale all the way down. Inventing</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="238" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
238
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC238" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># digits is unacceptable, so scale down as much as we can.</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="239" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
239
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC239" class="line" lang="python"> <span class="n" style="color: #333">lounits</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">i</span> <span class="o" style="font-weight: bold">//</span> <span class="mi" style="color: #099">3</span><span class="p">)</span> <span class="c" style="color: #998; font-style: italic"># "always", unless out of digits</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="240" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
240
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC240" class="line" lang="python"> <span class="n" style="color: #333">movechars</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">lounits</span> <span class="o" style="font-weight: bold">*</span> <span class="mi" style="color: #099">3</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="241" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
241
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC241" class="line" lang="python"> <span class="n" style="color: #333">newwhole</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">dec</span><span class="p">[:</span><span class="n" style="color: #333">movechars</span><span class="p">]</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">lstrip</span><span class="p">(</span><span class="s" style="color: #d14">"0"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="219" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
219
</td>
<td class="diff-line-num new_line" data-linenumber="242" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
242
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC242" class="line" lang="python"> <span class="n" style="color: #333">newdec</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">dec</span><span class="p">[</span><span class="n" style="color: #333">movechars</span><span class="p">:]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="220" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
220
</td>
<td class="diff-line-num new_line" data-linenumber="243" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
243
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC243" class="line" lang="python"> <span class="n" style="color: #333">unitsmoved</span> <span class="o" style="font-weight: bold">=</span> <span class="o" style="font-weight: bold">-</span><span class="n" style="color: #333">lounits</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="221" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
221
</td>
<td class="diff-line-num new_line" data-linenumber="244" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
244
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC244" class="line" lang="python"> <span class="k" style="font-weight: bold">else</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># Shift to larger units</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="316" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="339" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -316,8 +339,9 @@ def unitify(value, startingunit, baseunit=None, strip=False, width=8):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="316" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
316
</td>
<td class="diff-line-num new_line" data-linenumber="339" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
339
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC339" class="line" lang="python"> <span class="n" style="color: #333">baseunit</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">getunitgroup</span><span class="p">(</span><span class="n" style="color: #333">startingunit</span><span class="p">)[</span><span class="mi" style="color: #099">0</span><span class="p">]</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="317" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
317
</td>
<td class="diff-line-num new_line" data-linenumber="340" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
340
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC340" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">isstringzero</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">)</span> <span class="ow" style="font-weight: bold">is</span> <span class="bp" style="color: #999">True</span><span class="p">:</span> <span class="c" style="color: #998; font-style: italic"># display highest precision zero</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="318" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
318
</td>
<td class="diff-line-num new_line" data-linenumber="341" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
341
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC341" class="line" lang="python"> <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">strip</span> <span class="ow" style="font-weight: bold">is</span> <span class="bp" style="color: #999">False</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="319" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
319
</td>
<td class="diff-line-num new_line old" data-linenumber="342" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC319" class="line" lang="python"> <span class="n" style="color: #333">value</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fitinfield</span><span class="p">(</span><span class="s" style="color: #d14">"0"</span><span class="p">,</span> <span class="n" style="color: #333">width</span> <span class="o" style="font-weight: bold">-</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">baseunit</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="320" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
320
</td>
<td class="diff-line-num new_line old" data-linenumber="342" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC320" class="line" lang="python"> <span class="n" style="color: #333">value</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">value</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">baseunit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="321" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="342" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
342
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC342" class="line" lang="python"> <span class="n" style="color: #333">value</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fitinfield</span><span class="p">(</span><span class="s" style="color: #d14">"0"</span><span class="p">,</span> <span class="n" style="color: #333">width</span> <span class="o" style="font-weight: bold">-</span> <span class="nb" style="color: #0086b3">len</span><span class="p">(</span><span class="n" style="color: #333">baseunit</span><span class="p">))</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">baseunit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="321" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="343" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
343
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC343" class="line" lang="python"> <span class="k" style="font-weight: bold">else</span><span class="p">:</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="321" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="344" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
344
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC344" class="line" lang="python"> <span class="n" style="color: #333">value</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"0"</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">baseunit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="321" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
321
</td>
<td class="diff-line-num new_line" data-linenumber="345" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
345
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC345" class="line" lang="python"> <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">value</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="322" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
322
</td>
<td class="diff-line-num new_line" data-linenumber="346" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
346
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC346" class="line" lang="python"> <span class="n" style="color: #333">ooms</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">oomsbetweenunits</span><span class="p">(</span><span class="n" style="color: #333">startingunit</span><span class="p">,</span> <span class="n" style="color: #333">baseunit</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="323" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
323
</td>
<td class="diff-line-num new_line" data-linenumber="347" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
347
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC347" class="line" lang="python"> <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">cropprecision</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">,</span> <span class="n" style="color: #333">ooms</span><span class="p">)</span></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
<li id="212369a2f3b2454ae6823fc589f4a77ae148f6cd">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/c77b2593e382664de948d040ee719ccc554c9551#212369a2f3b2454ae6823fc589f4a77ae148f6cd"><strong>tests/pylib/test_util.py</strong></a>
<hr>
<table class="code white" style="-premailer-cellpadding: 0; -premailer-cellspacing: 0; -premailer-width: 100%; background: #fff; font-family: monospace; font-size: 12px" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="37" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="37" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -37,6 +37,8 @@ class TestPylibUtilMethods(unittest.TestCase):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="37" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
37
</td>
<td class="diff-line-num new_line" data-linenumber="37" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
37
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC37" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="38" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
38
</td>
<td class="diff-line-num new_line" data-linenumber="38" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
38
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC38" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale all decimals</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="39" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
39
</td>
<td class="diff-line-num new_line" data-linenumber="39" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
39
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC39" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"0.042"</span><span class="p">),</span> <span class="p">(</span><span class="s" style="color: #d14">"42"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">1</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="40" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="40" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
40
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC40" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Unscalable</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="40" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="41" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
41
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC41" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">".23"</span><span class="p">),</span> <span class="p">(</span><span class="s" style="color: #d14">"0.23"</span><span class="p">,</span> <span class="mi" style="color: #099">0</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="40" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
40
</td>
<td class="diff-line-num new_line" data-linenumber="42" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
42
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC42" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Typical length, positive value, no scaling</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="41" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
41
</td>
<td class="diff-line-num new_line" data-linenumber="43" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
43
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC43" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"1.23450"</span><span class="p">),</span> <span class="p">(</span><span class="s" style="color: #d14">"1.23450"</span><span class="p">,</span> <span class="mi" style="color: #099">0</span><span class="p">))</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="42" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
42
</td>
<td class="diff-line-num new_line" data-linenumber="44" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
44
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC44" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Ditto, negative</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="89" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="91" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -89,9 +91,11 @@ class TestPylibUtilMethods(unittest.TestCase):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="89" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
89
</td>
<td class="diff-line-num new_line" data-linenumber="91" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
91
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC91" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># ditto, negative</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="90" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
90
</td>
<td class="diff-line-num new_line" data-linenumber="92" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
92
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC92" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"-1.23456"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">1</span><span class="p">),</span> <span class="s" style="color: #d14">"-1234.56"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="91" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
91
</td>
<td class="diff-line-num new_line" data-linenumber="93" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
93
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC93" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale to lower unit, beyond available digits</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="92" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
92
</td>
<td class="diff-line-num new_line old" data-linenumber="94" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC92" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"1.23456"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">2</span><span class="p">),</span> <span class="s" style="color: #d14"><span class="idiff left right">"1234560"</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="93" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="94" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
94
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC94" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"1.23456"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">2</span><span class="p">),</span> <span class="bp" style="color: #999"><span class="idiff left right">None</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="93" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
93
</td>
<td class="diff-line-num new_line" data-linenumber="95" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
95
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC95" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># ditto, negative</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="94" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
94
</td>
<td class="diff-line-num new_line old" data-linenumber="96" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC94" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"-1.23456"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">2</span><span class="p">),</span> <span class="s" style="color: #d14">"-1234560"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="95" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="96" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
96
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC96" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"-1.23456"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">2</span><span class="p">),</span> <span class="bp" style="color: #999">None</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="95" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="97" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
97
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC97" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale from below the decimal</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="95" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="98" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
98
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC98" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">(</span><span class="s" style="color: #d14">"0.420"</span><span class="p">,</span> <span class="o" style="font-weight: bold">-</span><span class="mi" style="color: #099">1</span><span class="p">),</span> <span class="s" style="color: #d14">"420"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="95" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
95
</td>
<td class="diff-line-num new_line" data-linenumber="99" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
99
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC99" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="96" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
96
</td>
<td class="diff-line-num new_line" data-linenumber="100" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
100
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC100" class="line" lang="python"> <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_breaknumberstring</span><span class="p">(</span><span class="bp" style="color: #999">self</span><span class="p">):</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="97" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
97
</td>
<td class="diff-line-num new_line" data-linenumber="101" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
101
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC101" class="line" lang="python"> <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">breaknumberstring</span></span>
</pre>
</td>
</tr>
<tr class="line_holder match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="204" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="208" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="background: #fafafa; color: rgba(0,0,0,0.3); padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fafafa">@@ -204,12 +208,23 @@ class TestPylibUtilMethods(unittest.TestCase):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="204" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
204
</td>
<td class="diff-line-num new_line" data-linenumber="208" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
208
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC208" class="line" lang="python"> <span class="s" style="color: #d14">"1.02 34.5 0.67835 -23.0 9 6.7 1.00 .1"</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="205" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
205
</td>
<td class="diff-line-num new_line" data-linenumber="209" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
209
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC209" class="line" lang="python"> <span class="s" style="color: #d14">" 1.02 34.5 0.67835 -23.0 9 6.7 1.00 0.1 ms"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="206" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
206
</td>
<td class="diff-line-num new_line" data-linenumber="210" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
210
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC210" class="line" lang="python"> <span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="207" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
207
</td>
<td class="diff-line-num new_line old" data-linenumber="211" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC207" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="208" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="211" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
211
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC211" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale<span class="idiff left right"> to larger unit</span></span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="208" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
208
</td>
<td class="diff-line-num new_line" data-linenumber="212" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
212
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC212" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">stringfiltcooker</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="209" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
209
</td>
<td class="diff-line-num new_line" data-linenumber="213" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
213
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC213" class="line" lang="python"> <span class="s" style="color: #d14">"1000.02 3400.5 0.67835 -23.0 9001 6.7 1.00 1234"</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="210" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
210
</td>
<td class="diff-line-num new_line" data-linenumber="214" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
214
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC214" class="line" lang="python"> <span class="s" style="color: #d14">"1.00002 3.4005 0.00068 -0.0230 9.001 0.0067 0.00100 1.234 s"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="211" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
211
</td>
<td class="diff-line-num new_line" data-linenumber="215" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
215
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC215" class="line" lang="python"> <span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="212" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
212
</td>
<td class="diff-line-num new_line old" data-linenumber="216" style="background: #f8d7d2; border-right-color: #f4c4bc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#f8d7d2">
</td>
<td class="line_content noteable_line old" style="background: #fbe7e4; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#fbe7e4">
<pre style="margin: 0">-<span id="LC212" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="216" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
216
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC216" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Scale to smaller unit</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="217" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
217
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC217" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">stringfiltcooker</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="218" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
218
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC218" class="line" lang="python"> <span class="s" style="color: #d14">"0.470 0.420 0.430 0.500 0.460 0.4200 0.490 0.480"</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="219" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
219
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC219" class="line" lang="python"> <span class="s" style="color: #d14">u" 470 420 430 500 460 420.0 490 480 </span><span class="se" style="color: #d14">\u03bc</span><span class="s" style="color: #d14">s"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="220" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
220
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC220" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Can't scale</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="221" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
221
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC221" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">stringfiltcooker</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="222" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
222
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC222" class="line" lang="python"> <span class="s" style="color: #d14">"0.47 0.42 0.43 0.50 0.46 0.42 0.49 0.48"</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="223" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
223
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC223" class="line" lang="python"> <span class="s" style="color: #d14">" 0.47 0.42 0.43 0.50 0.46 0.42 0.49 0.48 ms"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="224" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
224
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC224" class="line" lang="python"> <span class="c" style="color: #998; font-style: italic"># Can't scale, only one value blocking</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="225" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
225
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC225" class="line" lang="python"> <span class="bp" style="color: #999">self</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">assertEqual</span><span class="p">(</span><span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">stringfiltcooker</span><span class="p">(</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="226" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
226
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC226" class="line" lang="python"> <span class="s" style="color: #d14">"0.47 0.4200 0.4300 0.5000 0.4600 0.4200 0.4900 0.4800"</span><span class="p">),</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="213" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
</td>
<td class="diff-line-num new new_line" data-linenumber="227" style="background: #cdedda; border-right-color: #bae6cc; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#cdedda">
227
</td>
<td class="line_content new noteable_line" style="background: #e4f5eb; padding-left: 0.5em; padding-right: 0.5em" bgcolor="#e4f5eb">
<pre style="margin: 0">+<span id="LC227" class="line" lang="python"> <span class="s" style="color: #d14">" 0.47 0.4200 0.4300 0.5000 0.4600 0.4200 0.4900 0.4800 ms"</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="213" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
213
</td>
<td class="diff-line-num new_line" data-linenumber="228" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
228
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC228" class="line" lang="python"> <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_unitrelativeto</span><span class="p">(</span><span class="bp" style="color: #999">self</span><span class="p">):</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="214" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
214
</td>
<td class="diff-line-num new_line" data-linenumber="229" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
229
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC229" class="line" lang="python"> <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">ntp</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">util</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">unitrelativeto</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="215" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
215
</td>
<td class="diff-line-num new_line" data-linenumber="230" style="background: #fafafa; border-right-color: #f0f0f0; border-right-style: solid; border-right-width: 1px; color: rgba(0,0,0,0.3); padding: 0 5px; text-align: right; width: 35px" align="right" bgcolor="#fafafa">
230
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC230" class="line" lang="python"></span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px">
<p style="color: #777; font-size: small">
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/c77b2593e382664de948d040ee719ccc554c9551">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/c77b2593e382664de948d040ee719ccc554c9551"}}</script>
</p>
</div>
</body>
</html>