<!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 decimal-fix
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/a7bb53a8c34f9b97ac91430c5ac8b29b076a7af4">a7bb53a8</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-04-13T23:45:00+00:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Removed outdated formatters.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/0bfbf8d258818a2991670ee018c6b558e22ea009">0bfbf8d2</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-04-13T23:48:38+00:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Fix for ungarded decimal split.
</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/5f58b872dfbc11d9caf1665ccc668fecff140d48">5f58b872</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-04-13T23:48:39+00:00</i>
</div>
<pre class="commit-message" style="margin: 0; white-space: pre-wrap">Rearranged ifs.
</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/compare/52529a0256ce515474ec628eeeae6f9465e2fd6a...5f58b872dfbc11d9caf1665ccc668fecff140d48#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="11" 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="11" 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">@@ -11,7 +11,6 @@ import os</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="11" 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">
11
</td>
<td class="diff-line-num new_line" data-linenumber="11" 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">
11
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC11" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">re</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="12" 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">
12
</td>
<td class="diff-line-num new_line" data-linenumber="12" 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">
12
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC12" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">shutil</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="13" 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">
13
</td>
<td class="diff-line-num new_line" data-linenumber="13" 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">
13
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC13" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">collections</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="14" 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">
14
</td>
<td class="diff-line-num new_line old" data-linenumber="14" 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="LC14" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">math</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="15" 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">
15
</td>
<td class="diff-line-num new_line" data-linenumber="14" 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">
14
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC14" 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="16" 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">
16
</td>
<td class="diff-line-num new_line" data-linenumber="15" 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">
15
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC15" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">ntp.ntpc</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="17" 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">
17
</td>
<td class="diff-line-num new_line" data-linenumber="16" 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">
16
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC16" class="line" lang="python"><span class="kn" style="font-weight: bold">import</span> <span class="nn" style="color: #555">ntp.version</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="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="diff-line-num unfold js-unfold new_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">...</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">@@ -91,11 +90,6 @@ def portsplit(hostname):</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="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="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC90" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="p">(</span><span class="n" style="color: #333">hostname</span><span class="p">,</span> <span class="n" style="color: #333">portsuffix</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="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="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>
</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="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>
</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="93" 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="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">zerowiggle</span><span class="p">(</span><span class="n" style="color: #333">ooms</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="95" 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">
95
</td>
<td class="diff-line-num new_line old" data-linenumber="93" 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="LC95" class="line" lang="python">    <span class="s" style="color: #d14">"Generate a wiggle value for float==0 comparisons"</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="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">
96
</td>
<td class="diff-line-num new_line old" data-linenumber="93" 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="LC96" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="mi" style="color: #099">10</span> <span class="o" style="font-weight: bold">**</span> <span class="o" style="font-weight: bold">-</span><span class="n" style="color: #333">ooms</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="97" 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">
97
</td>
<td class="diff-line-num new_line old" data-linenumber="93" 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="LC97" class="line" lang="python"></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="98" 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">
98
</td>
<td class="diff-line-num new_line old" data-linenumber="93" 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="LC98" 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="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="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="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">stringfiltcooker</span><span class="p">(</span><span class="n" style="color: #333">data</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="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="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="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 match" id="" style="line-height: 1.6">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="123" 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="117" 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">@@ -123,90 +117,6 @@ def stringfiltcooker(data):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="123" 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">
123
</td>
<td class="diff-line-num new_line" data-linenumber="117" 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">
117
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC117" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="124" 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">
124
</td>
<td class="diff-line-num new_line" data-linenumber="118" 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">
118
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC118" 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="125" 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">
125
</td>
<td class="diff-line-num new_line" data-linenumber="119" 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">
119
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC119" class="line" lang="python"></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="126" 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">
126
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC126" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">filtcooker</span><span class="p">(</span><span class="n" style="color: #333">data</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="127" 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">
127
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC127" class="line" lang="python">    <span class="s" style="color: #d14">"Cooks the string of space seperated numbers with units"</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="128" 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">
128
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC128" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="129" 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">
129
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC129" class="line" lang="python">    <span class="n" style="color: #333">floatyparts</span> <span class="o" style="font-weight: bold">=</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="130" 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">
130
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC130" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="131" 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">
131
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC131" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="132" 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">
132
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC132" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="133" 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">
133
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC133" class="line" lang="python">        <span class="n" style="color: #333">part</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">float</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="134" 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">
134
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC134" class="line" lang="python">        <span class="n" style="color: #333">floatyparts</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">append</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="135" 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">
135
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC135" 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">scaleforunit</span><span class="p">(</span><span class="n" style="color: #333">part</span><span class="p">,</span> <span class="n" style="color: #333">oomsbetweenunits</span><span class="p">(</span><span class="n" style="color: #333">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">UNIT_NS</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="136" 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">
136
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC136" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="137" 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">
137
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC137" 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="138" 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">
138
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC138" 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">None</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="139" 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">
139
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC139" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="140" 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">
140
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC140" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="141" 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">
141
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC141" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="142" 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">
142
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC142" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="143" 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">
143
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC143" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="144" 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">
144
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC144" class="line" lang="python">            <span class="n" style="color: #333">highestcount</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">count</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="145" 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">
145
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC145" class="line" lang="python">    <span class="n" style="color: #333">newunit</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">UNITS_SEC</span><span class="p">[</span><span class="n" style="color: #333">mostcommon</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">UNIT_MS</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="146" 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">
146
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC146" class="line" lang="python">    <span class="n" style="color: #333">oomstobase</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">mostcommon</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">6</span>  <span class="c" style="color: #998; font-style: italic"># 6 == UNIT_MS distance from base</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="147" 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">
147
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC147" class="line" lang="python">    <span class="c" style="color: #998; font-style: italic"># Shift all values to the new 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="148" 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">
148
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC148" class="line" lang="python">    <span class="n" style="color: #333">cooked</span> <span class="o" style="font-weight: bold">=</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="149" 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">
149
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC149" 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">floatyparts</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="150" 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">
150
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC150" class="line" lang="python">        <span class="n" style="color: #333">part</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">rescaleunit</span><span class="p">(</span><span class="n" style="color: #333">part</span><span class="p">,</span> <span class="n" style="color: #333">mostcommon</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="151" 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">
151
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC151" class="line" lang="python">        <span class="n" style="color: #333">fmt</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">formatdigitsplit</span><span class="p">(</span><span class="n" style="color: #333">part</span><span class="p">,</span> <span class="mi" style="color: #099">7</span><span class="p">,</span> <span class="n" style="color: #333">oomstobase</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="152" 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">
152
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC152" class="line" lang="python">        <span class="n" style="color: #333">temp</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fmt</span> <span class="o" style="font-weight: bold">%</span> <span class="n" style="color: #333">part</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="153" 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">
153
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC153" class="line" lang="python">        <span class="n" style="color: #333">cooked</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">append</span><span class="p">(</span><span class="n" style="color: #333">temp</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="154" 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">
154
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC154" class="line" lang="python">    <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">" "</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">join</span><span class="p">(</span><span class="n" style="color: #333">cooked</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="s" style="color: #d14">" "</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">newunit</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="155" 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">
155
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC155" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</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="156" 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">
156
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC156" class="line" lang="python"></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="157" 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">
157
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC157" class="line" lang="python"></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="158" 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">
158
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC158" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">rescaleunit</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">units</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="159" 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">
159
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC159" class="line" lang="python">    <span class="s" style="color: #d14">"Rescale a number by enough orders of magnitude for N units"</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="160" 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">
160
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC160" class="line" lang="python">    <span class="n" style="color: #333">multiplier</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099">10</span> <span class="o" style="font-weight: bold">**</span> <span class="p">(</span><span class="n" style="color: #333">units</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="161" 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">
161
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC161" 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">multiplier</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="162" 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">
162
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC162" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">f</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="163" 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">
163
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC163" class="line" lang="python"></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="164" 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">
164
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC164" class="line" lang="python"></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="165" 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">
165
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC165" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">scaleforunit</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">oomstobase</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="166" 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">
166
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC166" class="line" lang="python">    <span class="s" style="color: #d14">"Scales a number by units to keep it in the range 0.000-999.9"</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="167" 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">
167
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC167" class="line" lang="python">    <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">round</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">oomstobase</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># pre-round to base unit to filter float folly</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="168" 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">
168
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC168" class="line" lang="python">    <span class="n" style="color: #333">wiggle</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">zerowiggle</span><span class="p">(</span><span class="n" style="color: #333">oomstobase</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="169" 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">
169
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC169" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="o" style="font-weight: bold">-</span><span class="n" style="color: #333">wiggle</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">wiggle</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># if sufficiently close to zero do nothing</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="170" 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">
170
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC170" class="line" lang="python">        <span class="k" style="font-weight: bold">return</span> <span class="p">(</span><span class="n" style="color: #333">f</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="171" 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">
171
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC171" class="line" lang="python">    <span class="n" style="color: #333">unitsmoved</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="172" 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">
172
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC172" class="line" lang="python">    <span class="n" style="color: #333">af</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">f</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="173" 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">
173
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC173" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">af</span> <span class="o" style="font-weight: bold"><</span> <span class="mf" style="color: #099">1.0</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="174" 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">
174
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC174" class="line" lang="python">        <span class="n" style="color: #333">oom</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">math</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">floor</span><span class="p">(</span><span class="n" style="color: #333">math</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">log10</span><span class="p">(</span><span class="n" style="color: #333">af</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="175" 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">
175
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="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 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="120" 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="n" style="color: #333">oom</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">math</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">log10</span><span class="p">(</span><span class="n" style="color: #333">af</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Orders Of Magnitude</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="120" 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="n" style="color: #333">oom</span> <span class="o" style="font-weight: bold">-=</span> <span class="n" style="color: #333">oom</span> <span class="o" style="font-weight: bold">%</span> <span class="mi" style="color: #099">3</span>  <span class="c" style="color: #998; font-style: italic"># We only want to move in groups of 3 ooms</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="178" 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">
178
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC178" class="line" lang="python">    <span class="n" style="color: #333">multiplier</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099">10</span> <span class="o" style="font-weight: bold">**</span> <span class="o" style="font-weight: bold">-</span><span class="n" style="color: #333">oom</span>  <span class="c" style="color: #998; font-style: italic"># Reciprocol because floating * more accurate</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="179" 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">
179
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC179" class="line" lang="python">    <span class="n" style="color: #333">unitsmoved</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">int</span><span class="p">(</span><span class="n" style="color: #333">oom</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="180" 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">
180
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC180" 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">multiplier</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="181" 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">
181
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC181" class="line" lang="python">    <span class="n" style="color: #333">roundooms</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">unitsmoved</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="n" style="color: #333">oomstobase</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="182" 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">
182
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC182" class="line" lang="python">    <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">round</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">roundooms</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Filter out any float folly we introduced here</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="183" 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">
183
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC183" class="line" lang="python">    <span class="k" style="font-weight: bold">return</span> <span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">unitsmoved</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="184" 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">
184
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC184" class="line" lang="python"></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="185" 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">
185
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC185" class="line" lang="python"></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="186" 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">
186
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC186" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">roundsubzero</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">oomstobase</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="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="120" 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="s" style="color: #d14">"Rounds a number at it's base 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="120" 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="n" style="color: #333">mul</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099">10</span> <span class="o" style="font-weight: bold">**</span> <span class="n" style="color: #333">oomstobase</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="120" 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">f</span> <span class="o" style="font-weight: bold">*=</span> <span class="n" style="color: #333">mul</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="120" 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">f</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">round</span><span class="p">(</span><span class="n" style="color: #333">f</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="120" 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="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">f</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="192" 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">
192
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC192" class="line" lang="python"></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="193" 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">
193
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC193" class="line" lang="python"></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="194" 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">
194
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC194" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">formatdigitsplit</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">fieldsize</span><span class="p">,</span> <span class="n" style="color: #333">oomstobase</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="195" 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">
195
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC195" class="line" lang="python">    <span class="s" style="color: #d14">"Create a format string for a float without adding fake precision."</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="196" 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">
196
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC196" class="line" lang="python">    <span class="n" style="color: #333">af</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">f</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="197" 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">
197
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC197" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">af</span> <span class="o" style="font-weight: bold">>=</span> <span class="mf" style="color: #099">100.0</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="198" 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">
198
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC198" class="line" lang="python">        <span class="n" style="color: #333">maxdigits</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fieldsize</span> <span class="o" style="font-weight: bold">-</span> <span class="mi" style="color: #099">4</span>  <span class="c" style="color: #998; font-style: italic"># xxx.</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="199" 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">
199
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC199" class="line" lang="python">    <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">af</span> <span class="o" style="font-weight: bold">>=</span> <span class="mf" style="color: #099">10.0</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="200" 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">
200
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC200" class="line" lang="python">        <span class="n" style="color: #333">maxdigits</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fieldsize</span> <span class="o" style="font-weight: bold">-</span> <span class="mi" style="color: #099">3</span>  <span class="c" style="color: #998; font-style: italic"># xx.</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="201" 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">
201
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC201" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="202" 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">
202
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC202" class="line" lang="python">        <span class="n" style="color: #333">maxdigits</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">fieldsize</span> <span class="o" style="font-weight: bold">-</span> <span class="mi" style="color: #099">2</span>  <span class="c" style="color: #998; font-style: italic"># x.</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="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">
203
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC203" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold"><</span> <span class="mf" style="color: #099">0.0</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="204" 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">
204
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC204" class="line" lang="python">        <span class="n" style="color: #333">maxdigits</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"># need to fit a negative symbol</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="205" 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">
205
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC205" class="line" lang="python">    <span class="n" style="color: #333">subdigits</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">min</span><span class="p">(</span><span class="n" style="color: #333">oomstobase</span><span class="p">,</span> <span class="n" style="color: #333">maxdigits</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># use min so we don't add fake data</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="206" 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">
206
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC206" class="line" lang="python">    <span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">"</span> <span class="o" style="font-weight: bold">+</span> <span class="nb" style="color: #0086b3">str</span><span class="p">(</span><span class="n" style="color: #333">fieldsize</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="s" style="color: #d14">"."</span> <span class="o" style="font-weight: bold">+</span> <span class="nb" style="color: #0086b3">str</span><span class="p">(</span><span class="n" style="color: #333">subdigits</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="s" style="color: #d14">"f"</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="120" 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="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">formatter</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="208" 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">
208
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC208" class="line" lang="python"></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="209" 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">
209
</td>
<td class="diff-line-num new_line old" data-linenumber="120" 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="LC209" 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="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="120" 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">
120
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC120" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">getunitgroup</span><span class="p">(</span><span class="n" style="color: #333">unit</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="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="121" 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">
121
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC121" class="line" lang="python">    <span class="k" style="font-weight: bold">for</span> <span class="n" style="color: #333">group</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">unitgroups</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="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="diff-line-num new_line" data-linenumber="122" 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">
122
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC122" class="line" lang="python">        <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">unit</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">group</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="332" 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="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">...</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">@@ -332,19 +242,22 @@ def fitinfield(value, fieldsize):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="332" 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">
332
</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">pad</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">" "</span> <span class="o" style="font-weight: bold">*</span> <span class="p">(</span><span class="n" style="color: #333">fieldsize</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">vallen</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="333" 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">
333
</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">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">pad</span> <span class="o" style="font-weight: bold">+</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="334" 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">
334
</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"># Insufficient room, round as few digits as possible</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="335" 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">
335
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC335" class="line" lang="python">        <span class="n" style="color: #333">diff</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">vallen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">fieldsize</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="336" 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">
336
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC336" class="line" lang="python">        <span class="n" style="color: #333">declen</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 class="c" style="color: #998; font-style: italic"># length of decimals</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="337" 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">
337
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC337" class="line" lang="python">        <span class="n" style="color: #333">croplen</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">min</span><span class="p">(</span><span class="n" style="color: #333">declen</span><span class="p">,</span> <span class="n" style="color: #333">diff</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Never round above the decimal point</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="338" 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">
338
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC338" class="line" lang="python">        <span class="n" style="color: #333">roundlen</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">declen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">croplen</span>  <span class="c" style="color: #998; font-style: italic"># How many digits we round to</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="339" 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">
339
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC339" class="line" lang="python">        <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">str</span><span class="p">(</span><span class="nb" style="color: #0086b3">round</span><span class="p">(</span><span class="nb" style="color: #0086b3">float</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">),</span> <span class="n" style="color: #333">roundlen</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="340" 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">
340
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC340" class="line" lang="python">        <span class="n" style="color: #333">splitted</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">newvalue</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>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="341" 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">
341
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC341" class="line" lang="python">        <span class="n" style="color: #333">declen</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">splitted</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" 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">
342
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC342" class="line" lang="python">        <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">roundlen</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"># if rounding all the decimals don't display .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="343" 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">
343
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC343" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># but do display the point, to show that there is more beyond</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="344" 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">
344
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC344" 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">splitted</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="s" style="color: #d14">"."</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="345" 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">
345
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC345" class="line" lang="python">        <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">roundlen</span> <span class="o" style="font-weight: bold">></span> <span class="n" style="color: #333">declen</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># some zeros have been cropped, fix that</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="346" 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">
346
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="LC346" 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">roundlen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">declen</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="347" 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">
347
</td>
<td class="diff-line-num new_line old" data-linenumber="245" 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="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">newvalue</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 new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="348" 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="245" 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">
245
</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="LC245" 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 class="c" style="color: #998; font-style: italic"># Ok, we *do* have decimals to crop</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="348" 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="246" 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">
246
</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="LC246" class="line" lang="python">            <span class="n" style="color: #333">diff</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">vallen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">fieldsize</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="348" 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="247" 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">
247
</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="LC247" class="line" lang="python">            <span class="n" style="color: #333">declen</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 class="c" style="color: #998; font-style: italic"># length of decimals</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="348" 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="248" 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">
248
</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="LC248" class="line" lang="python">            <span class="n" style="color: #333">croplen</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">min</span><span class="p">(</span><span class="n" style="color: #333">declen</span><span class="p">,</span> <span class="n" style="color: #333">diff</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Never round above the decimal point</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="348" 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="249" 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">
249
</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="LC249" class="line" lang="python">            <span class="n" style="color: #333">roundlen</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">declen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">croplen</span>  <span class="c" style="color: #998; font-style: italic"># How many digits we round to</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="348" 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="250" 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">
250
</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="LC250" class="line" lang="python">            <span class="n" style="color: #333">newvalue</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">str</span><span class="p">(</span><span class="nb" style="color: #0086b3">round</span><span class="p">(</span><span class="nb" style="color: #0086b3">float</span><span class="p">(</span><span class="n" style="color: #333">value</span><span class="p">),</span> <span class="n" style="color: #333">roundlen</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="348" 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="251" 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">
251
</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="LC251" class="line" lang="python">            <span class="n" style="color: #333">splitted</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">newvalue</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="c" style="color: #998; font-style: italic"># This should never 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="348" 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="252" 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">
252
</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="LC252" class="line" lang="python">            <span class="n" style="color: #333">declen</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">splitted</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="348" 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="253" 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">
253
</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="LC253" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">roundlen</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"># if rounding all the decimals don't display .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="348" 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="254" 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">
254
</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="LC254" class="line" lang="python">                <span class="c" style="color: #998; font-style: italic"># but do display the point, to show that there is more beyond</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="348" 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="255" 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">
255
</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="LC255" 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">splitted</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="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="348" 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="256" 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">
256
</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="LC256" class="line" lang="python">            <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">roundlen</span> <span class="o" style="font-weight: bold">></span> <span class="n" style="color: #333">declen</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># some zeros have been cropped, fix that</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="348" 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="257" 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">
257
</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="LC257" 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">roundlen</span> <span class="o" style="font-weight: bold">-</span> <span class="n" style="color: #333">declen</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="348" 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="258" 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">
258
</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="LC258" 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">newvalue</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 new" id="" style="line-height: 1.6">
<td class="diff-line-num new old_line" data-linenumber="348" 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="259" 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">
259
</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="LC259" 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"># No decimals, nothing we can crop</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="348" 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="260" 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">
260
</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="LC260" 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">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="348" 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">
348
</td>
<td class="diff-line-num new_line" data-linenumber="261" 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">
261
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC261" 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="349" 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">
349
</td>
<td class="diff-line-num new_line" data-linenumber="262" 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">
262
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC262" 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="350" 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">
350
</td>
<td class="diff-line-num new_line" data-linenumber="263" 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">
263
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC263" 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="423" 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="336" 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">@@ -423,56 +336,6 @@ 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="423" 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">
423
</td>
<td class="diff-line-num new_line" data-linenumber="336" 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">
336
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC336" 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="424" 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">
424
</td>
<td class="diff-line-num new_line" data-linenumber="337" 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">
337
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC337" 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="425" 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">
425
</td>
<td class="diff-line-num new_line" data-linenumber="338" 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">
338
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC338" class="line" lang="python"></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="426" 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">
426
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC426" class="line" lang="python"><span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">unitformatter</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">unitgroup</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="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">None</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="427" 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">
427
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC427" class="line" lang="python">                  <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">False</span><span class="p">,</span> <span class="n" style="color: #333">width</span><span class="o" style="font-weight: bold">=</span><span class="mi" style="color: #099">8</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="428" 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">
428
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC428" class="line" lang="python">    <span class="s" style="color: #d14">"Formatting for unit associated values in N characters."</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="429" 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">
429
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC429" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">width</span> <span class="ow" style="font-weight: bold">is</span> <span class="ow" style="font-weight: bold">not</span> <span class="bp" style="color: #999">None</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># For padding to n characters</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="430" 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">
430
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC430" class="line" lang="python">        <span class="n" style="color: #333">padder</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="k" style="font-weight: bold">lambda</span> <span class="n" style="color: #333">x</span><span class="p">:</span> <span class="p">(</span><span class="s" style="color: #d14">" "</span> <span class="o" style="font-weight: bold">*</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">x</span><span class="p">)))</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">x</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="431" 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">
431
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC431" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="432" 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">
432
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC432" class="line" lang="python">        <span class="n" style="color: #333">strip</span> <span class="o" style="font-weight: bold">=</span> <span class="bp" style="color: #999">True</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="433" 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">
433
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC433" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">baseunit</span> <span class="ow" style="font-weight: bold">is</span> <span class="bp" style="color: #999">None</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="434" 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">
434
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC434" class="line" lang="python">        <span class="n" style="color: #333">baseunit</span> <span class="o" style="font-weight: bold">=</span> <span class="mi" style="color: #099">0</span>  <span class="c" style="color: #998; font-style: italic"># Assume that the lowest unit is equal to LSB</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="435" 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">
435
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC435" class="line" lang="python">    <span class="n" style="color: #333">oomsfrombase</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="436" 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">
436
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC436" class="line" lang="python">    <span class="n" style="color: #333">wiggle</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">zerowiggle</span><span class="p">(</span><span class="n" style="color: #333">oomsfrombase</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="437" 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">
437
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC437" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="o" style="font-weight: bold">-</span><span class="n" style="color: #333">wiggle</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">f</span> <span class="o" style="font-weight: bold"><</span> <span class="n" style="color: #333">wiggle</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># Zero, don't show decimals</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="438" 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">
438
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC438" class="line" lang="python">        <span class="n" style="color: #333">unit</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">unitgroup</span><span class="p">[</span><span class="n" style="color: #333">baseunit</span><span class="p">]</span>  <span class="c" style="color: #998; font-style: italic"># go all the way to the lsb</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="439" 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">
439
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC439" 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">roundsubzero</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">oomsfrombase</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="440" 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">
440
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC440" class="line" lang="python">        <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">d"</span> <span class="o" style="font-weight: bold">%</span> <span class="n" style="color: #333">f</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">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="441" 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">
441
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC441" class="line" lang="python">        <span class="k" style="font-weight: bold">if</span> <span class="ow" style="font-weight: bold">not</span> <span class="n" style="color: #333">strip</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="442" 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">
442
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC442" class="line" lang="python">            <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">padder</span><span class="p">(</span><span class="n" style="color: #333">rendered</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="443" 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">
443
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC443" class="line" lang="python">        <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</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="444" 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">
444
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC444" class="line" lang="python">    <span class="n" style="color: #333">oldf</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">f</span>  <span class="c" style="color: #998; font-style: italic"># keep this in case we don't fit in the units</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="445" 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">
445
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC445" class="line" lang="python">    <span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">unitsmoved</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">scaleforunit</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">oomsfrombase</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="446" 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">
446
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC446" class="line" lang="python">    <span class="n" style="color: #333">unitget</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">startingunit</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">unitsmoved</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="447" 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">
447
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC447" class="line" lang="python">    <span class="n" style="color: #333">oomsfrombase</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">unitget</span><span class="p">,</span> <span class="n" style="color: #333">baseunit</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># will need this later</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="448" 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">
448
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC448" class="line" lang="python">    <span class="k" style="font-weight: bold">if</span> <span class="p">(</span><span class="mi" style="color: #099">0</span> <span class="o" style="font-weight: bold"><=</span> <span class="n" style="color: #333">unitget</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">unitgroup</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="449" 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">
449
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC449" class="line" lang="python">        <span class="n" style="color: #333">unit</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">unitgroup</span><span class="p">[</span><span class="n" style="color: #333">unitget</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="450" 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">
450
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC450" class="line" lang="python">        <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">width</span> <span class="ow" style="font-weight: bold">is</span> <span class="bp" style="color: #999">None</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># Don't care about size, just display everything</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="451" 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">
451
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC451" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">unitget</span> <span class="o" style="font-weight: bold">==</span> <span class="n" style="color: #333">baseunit</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># Don't want fake decimals</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="452" 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">
452
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC452" class="line" lang="python">                <span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">d"</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="453" 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">
453
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC453" class="line" lang="python">                <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">%</span> <span class="n" style="color: #333">f</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">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="454" 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">
454
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC454" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="455" 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">
455
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC455" class="line" lang="python">                <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">repr</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">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="456" 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">
456
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC456" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">strip</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="457" 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">
457
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC457" class="line" lang="python">                <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">rendered</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">strip</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="458" 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">
458
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC458" class="line" lang="python">            <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</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="459" 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">
459
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC459" 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"># Do care about size, crop value so it will fit</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="460" 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">
460
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC460" class="line" lang="python">            <span class="n" style="color: #333">displaysize</span> <span class="o" style="font-weight: bold">=</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">unit</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="461" 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">
461
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC461" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">unitget</span> <span class="o" style="font-weight: bold">==</span> <span class="n" style="color: #333">baseunit</span><span class="p">:</span>  <span class="c" style="color: #998; font-style: italic"># Don't want fake decimals</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="462" 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">
462
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC462" class="line" lang="python">                <span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">=</span> <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%</span><span class="s" style="color: #d14">"</span> <span class="o" style="font-weight: bold">+</span> <span class="nb" style="color: #0086b3">str</span><span class="p">(</span><span class="n" style="color: #333">displaysize</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="s" style="color: #d14">"d"</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="463" 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">
463
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC463" 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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="464" 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">
464
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC464" class="line" lang="python">                <span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">formatdigitsplit</span><span class="p">(</span><span class="n" style="color: #333">f</span><span class="p">,</span> <span class="n" style="color: #333">displaysize</span><span class="p">,</span> <span class="n" style="color: #333">oomsfrombase</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="465" 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">
465
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC465" class="line" lang="python">            <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="p">(</span><span class="n" style="color: #333">formatter</span> <span class="o" style="font-weight: bold">%</span> <span class="n" style="color: #333">f</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">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="466" 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">
466
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC466" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">strip</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="467" 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">
467
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC467" class="line" lang="python">                <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">rendered</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">strip</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="468" 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">
468
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC468" class="line" lang="python">            <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</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="469" 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">
469
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC469" 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"># Out of units so revert to the original. Ugly but there are very</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="470" 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">
470
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC470" class="line" lang="python">        <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="nb" style="color: #0086b3">repr</span><span class="p">(</span><span class="n" style="color: #333">oldf</span><span class="p">)</span> <span class="o" style="font-weight: bold">+</span> <span class="n" style="color: #333">unitgroup</span><span class="p">[</span><span class="n" style="color: #333">startingunit</span><span class="p">]</span>  <span class="c" style="color: #998; font-style: italic"># few options here</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="471" 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">
471
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC471" class="line" lang="python">        <span class="k" style="font-weight: bold">if</span> <span class="ow" style="font-weight: bold">not</span> <span class="n" style="color: #333">strip</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="472" 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">
472
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC472" class="line" lang="python">            <span class="n" style="color: #333">rendered</span> <span class="o" style="font-weight: bold">=</span> <span class="n" style="color: #333">padder</span><span class="p">(</span><span class="n" style="color: #333">rendered</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="473" 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">
473
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC473" class="line" lang="python">        <span class="k" style="font-weight: bold">return</span> <span class="n" style="color: #333">rendered</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="474" 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">
474
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC474" class="line" lang="python"></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="475" 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">
475
</td>
<td class="diff-line-num new_line old" data-linenumber="339" 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="LC475" 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="476" 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">
476
</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="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">f8dot4</span><span class="p">(</span><span class="n" style="color: #333">f</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="477" 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">
477
</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="s" style="color: #d14">"Scaled floating point formatting to fit in 8 characters"</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="478" 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">
478
</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">f</span> <span class="o" style="font-weight: bold">>=</span> <span class="mi" style="color: #099">0</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="676" 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="539" 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">@@ -676,7 +539,7 @@ def cook(variables, showunits=False):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="676" 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">
676
</td>
<td class="diff-line-num new_line" data-linenumber="539" 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">
539
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC539" class="line" lang="python">            <span class="n" style="color: #333">item</span> <span class="o" style="font-weight: bold">+=</span> <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%03</span><span class="s" style="color: #d14">lo"</span> <span class="o" style="font-weight: bold">%</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="677" 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">
677
</td>
<td class="diff-line-num new_line" data-linenumber="540" 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">
540
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC540" class="line" lang="python">        <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">name</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">specials</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="678" 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">
678
</td>
<td class="diff-line-num new_line" data-linenumber="541" 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">
541
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC541" class="line" lang="python">            <span class="k" style="font-weight: bold">if</span> <span class="n" style="color: #333">showunits</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="679" 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">
679
</td>
<td class="diff-line-num new_line old" data-linenumber="542" 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="LC679" class="line" lang="python">                <span class="n" style="color: #333">item</span> <span class="o" style="font-weight: bold">+=</span> <span class="n" style="color: #333">filtcooker</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="680" 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="542" 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">
542
</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="LC542" class="line" lang="python">                <span class="n" style="color: #333">item</span> <span class="o" style="font-weight: bold">+=</span> <span class="n" style="color: #333"><span class="idiff left right">string</span>filtcooker</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" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="680" 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">
680
</td>
<td class="diff-line-num new_line" data-linenumber="543" 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">
543
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC543" 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="681" 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">
681
</td>
<td class="diff-line-num new_line" data-linenumber="544" 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">
544
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC544" class="line" lang="python">                <span class="n" style="color: #333">item</span> <span class="o" style="font-weight: bold">+=</span> <span class="s" style="color: #d14">"</span><span class="se" style="color: #d14">\t</span><span class="s" style="color: #d14">"</span><span class="o" style="font-weight: bold">.</span><span class="n" style="color: #333">join</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>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="682" 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">
682
</td>
<td class="diff-line-num new_line" data-linenumber="545" 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">
545
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC545" class="line" lang="python">        <span class="k" style="font-weight: bold">elif</span> <span class="n" style="color: #333">name</span> <span class="o" style="font-weight: bold">==</span> <span class="s" style="color: #d14">"flash"</span><span class="p">:</span></span>
</pre>
</td>
</tr>

</table>
<br>
</li>
<li id="212369a2f3b2454ae6823fc589f4a77ae148f6cd">
<a href="https://gitlab.com/NTPsec/ntpsec/compare/52529a0256ce515474ec628eeeae6f9465e2fd6a...5f58b872dfbc11d9caf1665ccc668fecff140d48#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="26" 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="26" 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">@@ -26,132 +26,12 @@ 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="26" 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">
26
</td>
<td class="diff-line-num new_line" data-linenumber="26" 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">
26
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC26" class="line" lang="python">            <span class="s" style="color: #d14">"[0000:1111:2222:3333:4444:5555:6666:7777]:123"</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="27" 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">
27
</td>
<td class="diff-line-num new_line" data-linenumber="27" 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">
27
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC27" class="line" lang="python">            <span class="p">(</span><span class="s" style="color: #d14">"0000:1111:2222:3333:4444:5555:6666:7777"</span><span class="p">,</span> <span class="s" style="color: #d14">":123"</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="28" 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">
28
</td>
<td class="diff-line-num new_line" data-linenumber="28" 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">
28
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC28" class="line" lang="python"></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="29" 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">
29
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC29" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_rescaleunit</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="30" 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">
30
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC30" 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">rescaleunit</span><span class="p">(</span><span class="mf" style="color: #099">1.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="31" 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">
31
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC31" class="line" lang="python">                         <span class="mf" style="color: #099">1.0</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="32" 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">
32
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC32" 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">rescaleunit</span><span class="p">(</span><span class="mf" style="color: #099">10.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="33" 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">
33
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC33" class="line" lang="python">                         <span class="mf" style="color: #099">10000.0</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="34" 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">
34
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC34" 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">rescaleunit</span><span class="p">(</span><span class="mf" style="color: #099">0.1</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="35" 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">
35
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC35" class="line" lang="python">                         <span class="mf" style="color: #099">100.0</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="36" 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">
36
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC36" 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">rescaleunit</span><span class="p">(</span><span class="mf" style="color: #099">10.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="37" 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">
37
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC37" class="line" lang="python">                         <span class="mf" style="color: #099">0.01</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="38" 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">
38
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC38" 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">rescaleunit</span><span class="p">(</span><span class="mf" style="color: #099">0.1</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="39" 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">
39
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC39" class="line" lang="python">                         <span class="mf" style="color: #099">0.0001</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="40" 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">
40
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC40" 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">rescaleunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">100.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="41" 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">
41
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC41" class="line" lang="python">                         <span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">100000.0</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="42" 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">
42
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC42" 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">rescaleunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-.</span><span class="mo" style="color: #099">001</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="43" 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">
43
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC43" class="line" lang="python">                         <span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">1.0</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="44" 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">
44
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC44" 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">rescaleunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">100.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="45" 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">
45
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC45" class="line" lang="python">                         <span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">0.1</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="46" 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">
46
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC46" 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">rescaleunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-.</span><span class="mo" style="color: #099">001</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="47" 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">
47
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC47" class="line" lang="python">                         <span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">0.000001</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="48" 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">
48
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC48" class="line" lang="python"></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="49" 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">
49
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC49" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_scaleforunit</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="50" 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">
50
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC50" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">1.0</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="51" 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">
51
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC51" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">1.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="52" 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">
52
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC52" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">999.2342</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="53" 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">
53
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC53" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">999.2342</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="54" 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">
54
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC54" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">5042.7</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="55" 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">
55
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC55" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">5.0427</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="56" 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">
56
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC56" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">0.1912</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="57" 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">
57
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC57" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">191.2</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="58" 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">
58
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC58" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">0.00000042</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="59" 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">
59
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC59" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">420.0</span><span class="p">,</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="60" 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">
60
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC60" 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">scaleforunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">1.0</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="61" 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">
61
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC61" class="line" lang="python">                         <span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">1.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="62" 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">
62
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC62" 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">scaleforunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">999.2342</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="63" 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">
63
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC63" class="line" lang="python">                         <span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">999.2342</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="64" 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">
64
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC64" 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">scaleforunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">5042.7</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="65" 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">
65
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC65" class="line" lang="python">                         <span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">5.0427</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="66" 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">
66
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC66" 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">scaleforunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">0.1912</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="67" 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">
67
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC67" class="line" lang="python">                         <span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">191.2</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="68" 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">
68
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC68" 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">scaleforunit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">0.00000042</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="69" 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">
69
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC69" class="line" lang="python">                         <span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">420.0</span><span class="p">,</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="70" 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">
70
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC70" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">1.0000004</span><span class="p">,</span> <span class="mi" style="color: #099">6</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="71" 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">
71
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC71" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">1.0</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="72" 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">
72
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC72" 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">scaleforunit</span><span class="p">(</span><span class="mf" style="color: #099">1.0000005</span><span class="p">,</span> <span class="mi" style="color: #099">6</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="73" 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">
73
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC73" class="line" lang="python">                         <span class="p">(</span><span class="mf" style="color: #099">1.000001</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="74" 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">
74
</td>
<td class="diff-line-num new_line old" data-linenumber="29" 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="LC74" 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="75" 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">
75
</td>
<td class="diff-line-num new_line" data-linenumber="29" 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">
29
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC29" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_oomsbetweenunits</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="76" 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">
76
</td>
<td class="diff-line-num new_line" data-linenumber="30" 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">
30
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC30" 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">oomsbetweenunits</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="77" 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">
77
</td>
<td class="diff-line-num new_line" data-linenumber="31" 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">
31
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC31" 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="78" 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">
78
</td>
<td class="diff-line-num new_line" data-linenumber="32" 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">
32
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC32" 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="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">UNIT_KS</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">UNIT_MS</span><span class="p">),</span> <span class="mi" style="color: #099">6</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="79" 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">
79
</td>
<td class="diff-line-num new_line" data-linenumber="33" 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">
33
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC33" 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="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">UNIT_PPM</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">UNIT_PPB</span><span class="p">),</span> <span class="mi" style="color: #099">3</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="80" 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">
80
</td>
<td class="diff-line-num new_line" data-linenumber="34" 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">
34
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC34" class="line" lang="python"></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="81" 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">
81
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC81" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_filtcooker</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="82" 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">
82
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC82" 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">filtcooker</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="83" 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">
83
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC83" class="line" lang="python">            <span class="s" style="color: #d14">"1.02 34.5 0.67835 -23.0 9 6.7 1.0 .1"</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="84" 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">
84
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC84" class="line" lang="python">            <span class="s" style="color: #d14">"1.02000 34.5000 0.67835 -23.000 9.00000 6.70000 1.00000 0.10000 ms"</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="85" 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">
85
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC85" 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="86" 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">
86
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC86" class="line" lang="python"></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="87" 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">
87
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC87" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_formatdigitsplit</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="88" 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">
88
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC88" 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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">10.0</span><span class="p">,</span> <span class="mi" style="color: #099">5</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="89" 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">
89
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC89" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%5.2</span><span class="s" style="color: #d14">f"</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="90" 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">
90
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC90" 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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">100.52</span><span class="p">,</span> <span class="mi" style="color: #099">5</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="91" 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">
91
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC91" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%5.1</span><span class="s" style="color: #d14">f"</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="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="35" 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">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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">10.123456789</span><span class="p">,</span> <span class="mi" style="color: #099">8</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="93" 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">
93
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC93" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%8.5</span><span class="s" style="color: #d14">f"</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="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="35" 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">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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">1.123456789</span><span class="p">,</span> <span class="mi" style="color: #099">8</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="95" 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">
95
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC95" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%8.6</span><span class="s" style="color: #d14">f"</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="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">
96
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="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">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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">0.123456789</span><span class="p">,</span> <span class="mi" style="color: #099">8</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="97" 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">
97
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC97" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%8.6</span><span class="s" style="color: #d14">f"</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="98" 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">
98
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="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">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">formatdigitsplit</span><span class="p">(</span><span class="mf" style="color: #099">1.234</span><span class="p">,</span> <span class="mi" style="color: #099">10</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="99" 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">
99
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC99" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%10.8</span><span class="s" style="color: #d14">f"</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="100" 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">
100
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC100" 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">formatdigitsplit</span><span class="p">(</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">1.23456789</span><span class="p">,</span> <span class="mi" style="color: #099">6</span><span class="p">,</span> <span class="mi" style="color: #099">9</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="101" 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">
101
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC101" class="line" lang="python">                         <span class="s" style="color: #d14">"</span><span class="si" style="color: #d14">%6.3</span><span class="s" style="color: #d14">f"</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="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="35" 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>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="103" 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">
103
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC103" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_unitformatter</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="104" 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">
104
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC104" 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">unitformatter</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="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">
105
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC105" class="line" lang="python">        <span class="n" style="color: #333">usec</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">UNITS_SEC</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="106" 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">
106
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC106" class="line" lang="python"></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="107" 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">
107
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC107" class="line" lang="python">        <span class="n" style="color: #333">sec_t</span> <span class="o" style="font-weight: bold">=</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="108" 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">
108
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC108" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># 1.0000000005 s rounds to 1s</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="109" 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">
109
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC109" class="line" lang="python">            <span class="p">[</span><span class="mf" style="color: #099">1.0000000005</span><span class="p">,</span> <span class="s" style="color: #d14">"1.00000s"</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="110" 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">
110
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC110" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># -1.0000000005 s rounds to 1s</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="111" 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">
111
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC111" class="line" lang="python">            <span class="p">[</span><span class="o" style="font-weight: bold">-</span><span class="mf" style="color: #099">1.0000000005</span><span class="p">,</span> <span class="s" style="color: #d14">"-1.0000s"</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="112" 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">
112
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC112" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># 0.9999999999 s round to 1s</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="113" 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">
113
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC113" class="line" lang="python">            <span class="p">[</span><span class="mf" style="color: #099">0.9999999999</span><span class="p">,</span> <span class="s" style="color: #d14">"1.00000s"</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="114" 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">
114
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC114" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># 0.00000000049 s rounds to 0ns</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="115" 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">
115
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC115" class="line" lang="python">            <span class="p">[</span><span class="mf" style="color: #099">0.00000000049</span><span class="p">,</span> <span class="s" style="color: #d14">"     0ns"</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="116" 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">
116
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC116" class="line" lang="python">            <span class="c" style="color: #998; font-style: italic"># 0.00000000051 s rounds to 1ns</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="117" 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">
117
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC117" class="line" lang="python">            <span class="p">[</span><span class="mf" style="color: #099">0.00000000051</span><span class="p">,</span> <span class="s" style="color: #d14">"     1ns"</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="118" 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">
118
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC118" 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="119" 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">
119
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC119" class="line" lang="python"></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="120" 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">
120
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC120" class="line" lang="python">        <span class="k" style="font-weight: bold">for</span> <span class="n" style="color: #333">t</span> <span class="ow" style="font-weight: bold">in</span> <span class="n" style="color: #333">sec_t</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="121" 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">
121
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC121" 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="n" style="color: #333">t</span><span class="p">[</span><span class="mi" style="color: #099">0</span><span class="p">],</span> <span class="n" style="color: #333">usec</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">UNIT_S</span><span class="p">),</span> <span class="n" style="color: #333">t</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 old" id="" style="line-height: 1.6">
<td class="diff-line-num old old_line" data-linenumber="122" 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">
122
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC122" class="line" lang="python"></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="123" 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">
123
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC123" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic"># 0.4 ms rounds to 0ns</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="124" 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">
124
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC124" 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="mf" style="color: #099">0.0000004</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="125" 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">
125
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC125" class="line" lang="python">                         <span class="s" style="color: #d14">"     0ns"</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="126" 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">
126
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC126" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic"># 0.5 ms rounds to 1ns</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="127" 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">
127
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC127" 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="mf" style="color: #099">0.0000005</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="128" 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">
128
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC128" class="line" lang="python">                         <span class="s" style="color: #d14">"     1ns"</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="129" 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">
129
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC129" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic"># 0.5 ms rounds to 1ns, with strip</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="130" 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">
130
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC130" 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="mf" style="color: #099">0.0000005</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">True</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="131" 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">
131
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC131" class="line" lang="python">                         <span class="s" style="color: #d14">"1ns"</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="132" 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">
132
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC132" 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="mf" style="color: #099">12.45</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="133" 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">
133
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC133" class="line" lang="python">                         <span class="s" style="color: #d14">"12.450ms"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Checking normal</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="134" 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">
134
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC134" 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="mf" style="color: #099">12.45</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">True</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="135" 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">
135
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC135" class="line" lang="python">                         <span class="s" style="color: #d14">"12.450ms"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Checking normal, strip</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="136" 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">
136
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC136" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic"># 12.499999 ms rounds to 12.45 ms</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="137" 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">
137
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC137" 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="mf" style="color: #099">12.499999</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="138" 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">
138
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC138" class="line" lang="python">                           <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">True</span><span class="p">,</span> <span class="n" style="color: #333">width</span><span class="o" style="font-weight: bold">=</span><span class="mi" style="color: #099">6</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="139" 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">
139
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC139" class="line" lang="python">                         <span class="s" style="color: #d14">"12.5ms"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Checking normal, strip</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="140" 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">
140
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC140" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic"># 12.451 ms rounds to 12.45 ms</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="141" 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">
141
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC141" 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="mf" style="color: #099">12.451</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="142" 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">
142
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC142" class="line" lang="python">                           <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">True</span><span class="p">,</span> <span class="n" style="color: #333">width</span><span class="o" style="font-weight: bold">=</span><span class="mi" style="color: #099">7</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="143" 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">
143
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC143" class="line" lang="python">                         <span class="s" style="color: #d14">"12.45ms"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Checking normal, strip</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="144" 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">
144
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC144" 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="mf" style="color: #099">123456789.1234</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">width</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">None</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="145" 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">
145
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC145" class="line" lang="python">                         <span class="s" style="color: #d14">"123.4567891234ks"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Checking normal, no width</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="146" 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">
146
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC146" 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="mf" style="color: #099">0.000005</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</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="147" 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">
147
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC147" class="line" lang="python">                         <span class="s" style="color: #d14">"     5ns"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Unit == base</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="148" 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">
148
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC148" 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="mf" style="color: #099">0.000005</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">strip</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">True</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="149" 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">
149
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC149" class="line" lang="python">                         <span class="s" style="color: #d14">"5ns"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Unit == base, strip</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="150" 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">
150
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC150" 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="mf" style="color: #099">0.000005</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_MS</span><span class="p">,</span> <span class="n" style="color: #333">width</span><span class="o" style="font-weight: bold">=</span><span class="bp" style="color: #999">None</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="151" 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">
151
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC151" class="line" lang="python">                         <span class="s" style="color: #d14">"5ns"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Unit == base, no width</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="152" 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">
152
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC152" 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="mf" style="color: #099">10000.1</span><span class="p">,</span> <span class="n" style="color: #333">usec</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">UNIT_KS</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="153" 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">
153
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC153" class="line" lang="python">                         <span class="s" style="color: #d14">"10000.1ks"</span><span class="p">)</span>  <span class="c" style="color: #998; font-style: italic"># Value outside of unit ranges</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="154" 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">
154
</td>
<td class="diff-line-num new_line old" data-linenumber="35" 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="LC154" 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="155" 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">
155
</td>
<td class="diff-line-num new_line" data-linenumber="35" 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">
35
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC35" class="line" lang="python">    <span class="k" style="font-weight: bold">def</span> <span class="nf" style="color: #900; font-weight: bold">test_scalestring</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="156" 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">
156
</td>
<td class="diff-line-num new_line" data-linenumber="36" 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">
36
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em">
<pre style="margin: 0"> <span id="LC36" 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">scalestring</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6">
<td class="diff-line-num old_line" data-linenumber="157" 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">
157
</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>

</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/compare/52529a0256ce515474ec628eeeae6f9465e2fd6a...5f58b872dfbc11d9caf1665ccc668fecff140d48">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.

</p>
</div>
</body>
</html>