bug #23564/23564: base_convert loses percision on large numbers

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155131 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-04-01 10:00:01 +00:00
parent 8ab36e8a27
commit 8799687c66

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.base-convert">
<refnamediv>
@ -43,6 +43,14 @@ echo base_convert($hexadecimal, 16, 2);
</screen>
</example>
</para>
<warning>
<simpara>
<function>base_convert</function> may lose precision on large numbers
due to properties related to the internal "double" or "float" type used.
Please see the <link linkend="language.types.float">Floating point numbers</link>
section in the manual for more specific information and limitations.
</simpara>
</warning>
</refsect1>
</refentry>