allow and document direct conversion from VAL/OVAL to integer to get more bits on 64 bit systems

This commit is contained in:
zimoch
2015-08-18 14:28:26 +00:00
parent d763a64f03
commit 018547cdf3
3 changed files with 25 additions and 0 deletions

View File

@ -40,6 +40,12 @@ written or read value.
(=20.0/0xFFFF) maps -10.0 to 0x0000, 0.0 to 0x7FFF and 10.0 to 0xFFFF.
Using unsigned formats with values ≥ 0x800000 gives different results
on 64 bit machines.
<p class="new">
If <code>LINR=="NO CONVERSION"</code> (the default), <code>OVAL</code>
is directly converted to <code>long</code> without going through
<code>RVAL</code>. This allows for more bits on 64 bit machines.
To get the old behavior, use <code>LINR=="LINEAR"</code>.
</p>
</dd>
<dt>ENUM format (e.g. <code>%{</code>):</dt>
<dd>