This commit is contained in:
2026-09-09 17:35:23 +08:00
parent 2a98ae7556
commit 161af68fe3
1271 changed files with 58251 additions and 98639 deletions
@@ -1064,6 +1064,52 @@ The feedrate setting takes priority.</p>
<a id="Hi_NcOpt_NcOptOption_OmitLeadingZero_" data-uid="Hi.NcOpt.NcOptOption.OmitLeadingZero*"></a>
<h3 id="Hi_NcOpt_NcOptOption_OmitLeadingZero" data-uid="Hi.NcOpt.NcOptOption.OmitLeadingZero">
OmitLeadingZero
</h3>
<div class="markdown level1 summary"><p>Spells a rewritten value below one as <code>.348</code> instead of the
default <code>0.348</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool OmitLeadingZero { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section" id="Hi_NcOpt_NcOptOption_OmitLeadingZero_remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>A text-diff concern, not a numeric one: an external post that compares
the optimized program against its source as text reports a change on
every word below one when the two spell it differently, even though
the value is identical. It lives on the project's option rather than on
a machine-level preference so the same <code>.hincproj</code> produces the
same bytes on every machine — a reproducibility property worth more
than per-site convenience when a diff has to be traced. Applied to
<span class="xref">Hi.NcParsers.NcWriteback.NcPatchUtil.OmitLeadingZero</span> on
every output pass from the option in force at the first step; the
default keeps the frozen HardNc convention the Soft-vs-Hard byte parity
gates assume.</p>
</div>
<a id="Hi_NcOpt_NcOptOption_PreferedForce_N_" data-uid="Hi.NcOpt.NcOptOption.PreferedForce_N*"></a>
<h3 id="Hi_NcOpt_NcOptOption_PreferedForce_N" data-uid="Hi.NcOpt.NcOptOption.PreferedForce_N">