mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Document underflow limitation in Randomizer::getFloat()
This commit is contained in:
committed by
Christian Weiske
parent
058ea1e842
commit
1ada637cc8
@@ -341,6 +341,15 @@ Lat: +69.244304 Lng: -53.548951
|
||||
to obtain the desired behavioral properties.
|
||||
</para>
|
||||
</note>
|
||||
<caution>
|
||||
<para>
|
||||
Underflow is intentionally left unhandled in the γ-section algorithm.
|
||||
This may result in incorrect values being returned for intervals with
|
||||
boundaries in the subnormal range of floating point numbers, i.e.
|
||||
for values smaller than approximately
|
||||
<literal>2<superscript>-1020</superscript></literal> (about <literal>8.9e-308</literal>).
|
||||
</para>
|
||||
</caution>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
|
||||
Reference in New Issue
Block a user