rarruda Fri May 3 20:32:31 2002 EDT Modified files: /phpdoc/pt_BR/reference/math/functions base-convert.xml cosh.xml decbin.xml deg2rad.xml ceil.xml decoct.xml exp.xml bindec.xml cos.xml dechex.xml expm1.xml Log: initial translation
Index: phpdoc/pt_BR/reference/math/functions/base-convert.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/base-convert.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/base-convert.xml Fri May 3 20:32:30 +2002 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.base-convert"> + <refnamediv> + <refname>base_convert</refname> + <refpurpose>Converter um número entre bases arbitrárias</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>string</type><methodname>base_convert</methodname> + <methodparam><type>string</type><parameter>number</parameter></methodparam> + <methodparam><type>int</type><parameter>frombase</parameter></methodparam> + <methodparam><type>int</type><parameter>tobase</parameter></methodparam> + </methodsynopsis> + <para> + Retorna uma string contendo <parameter>number</parameter> + representado na base <parameter>tobase</parameter>. A base em que + <parameter>number</parameter> é especificada em + <parameter>frombase</parameter>. Tanto + <parameter>frombase</parameter> quanto <parameter>tobase</parameter> + tem que ser entre 2 e 36, inclusive. Digitos em números com + base maior do que 10 serão representados com letras a-z, + com a significando 10, b significando 11 e z significando 35. + <example> + <title><function>base_convert</function></title> + <programlisting role="php"> +<![CDATA[ +$binary = base_convert ($hexadecimal, 16, 2); +]]> +</programlisting> + </example> + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/cosh.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/cosh.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/cosh.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.cosh"> + <refnamediv> + <refname>cosh</refname> + <refpurpose>Coseno hiperbólico</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>cosh</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + Retorna o coseno hiperbólico de <parameter>arg</parameter>, + definido por <literal>(exp(arg) + exp(-arg))/2</literal>. + </para> + <para> + Veja também <function>cos</function>, <function>acosh</function>, + <function>sin</function> e <function>tan</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/decbin.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/decbin.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/decbin.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.decbin"> + <refnamediv> + <refname>decbin</refname> + <refpurpose>Decimal para binário</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>string</type><methodname>decbin</methodname> + <methodparam><type>int</type><parameter>numero</parameter></methodparam> + </methodsynopsis> + <para> + Retorna uma string contendo a representação binária do numero dado + no argumento. O maior número que pode ser convertido é + </para> + <para> + Veja também a função <function>bindec</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/deg2rad.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/deg2rad.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/deg2rad.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.deg2rad"> + <refnamediv> + <refname>deg2rad</refname> + <refpurpose> + Converte o número em graus ao equivalente em radianos + </refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>deg2rad</methodname> + <methodparam><type>float</type><parameter>numero</parameter></methodparam> + </methodsynopsis> + <para> + Esta função converte <parameter>numero</parameter> de graus + ao equivalente em radianos. + </para> + <para> + Veja também <function>rad2deg</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/ceil.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/ceil.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/ceil.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.12 Maintainer: rarruda Status: ready --> + <refentry id="function.ceil"> + <refnamediv> + <refname>ceil</refname> + <refpurpose>Arredonda frações para cima</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>ceil</methodname> + <methodparam><type>float</type><parameter>valor</parameter></methodparam> + </methodsynopsis> + <simpara> + Retorna o prócimo maior valor inteiro arredondando para cima o + <parameter>valor</parameter> se necessário. + O valor retornado de <function>ceil</function> é do tipo + <type>float</type> porque a quantia de valores suportados por <type>float</type> + é normalmente maior do que o de <type>int</type>. + </simpara> + <example> + <title><function>ceil</function> examples</title> + <programlisting role="php"> +<![CDATA[ +$cinco = ceil(4.3); // $cinco = 5.0; +$dez = ceil(9.999); // $dez = 10.0; +]]> + </programlisting> + </example> + <simpara> + Veja também <function>floor</function> e + <function>round</function>. + </simpara> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/decoct.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/decoct.xml:1.3 --- /dev/null Fri May 3 20:32:30 2002 +++ phpdoc/pt_BR/reference/math/functions/decoct.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.decoct"> + <refnamediv> + <refname>decoct</refname> + <refpurpose>Decimal para octal</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>string</type><methodname>decoct</methodname> + <methodparam><type>int</type><parameter>numero</parameter></methodparam> + </methodsynopsis> + <para> + Retorna uma string contendo a representação octal do numero dado + no argumento. O maior número que pode ser convertido é + 2147483647 em decimal resultando em "17777777777". + </para> + <para> + Veja também <function>octdec</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/exp.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/exp.xml:1.3 --- /dev/null Fri May 3 20:32:31 2002 +++ phpdoc/pt_BR/reference/math/functions/exp.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.exp"> + <refnamediv> + <refname>exp</refname> + <refpurpose>e a potência de ...</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>exp</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + Retorna e a potência de <parameter>arg</parameter>. + </para> + <para> + Veja também <function>pow</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/bindec.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/bindec.xml:1.3 --- /dev/null Fri May 3 20:32:31 2002 +++ phpdoc/pt_BR/reference/math/functions/bindec.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.bindec"> + <refnamediv> + <refname>bindec</refname> + <refpurpose>Binary to decimal</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>int</type><methodname>bindec</methodname> + +<methodparam><type>string</type><parameter>binary_string</parameter></methodparam> + </methodsynopsis> + <para> + Retorna o equivalente decimal do número binário representado pelo + argumento binary_string. + </para> + <para> + <function>bindec</function> converte um número binário em um + <type>integer</type>. O maior número que pode ser convertido é + 31 bits de ums (1) ou 2147483647 em decimal. + </para> + <para> + Veja também a função <function>decbin</function> + . + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/cos.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/cos.xml:1.3 --- /dev/null Fri May 3 20:32:31 2002 +++ phpdoc/pt_BR/reference/math/functions/cos.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.cos"> + <refnamediv> + <refname>cos</refname> + <refpurpose>Coseno</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>cos</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + Retorna o coseno do arg em radianos. + </para> + <para> + Veja também <function>sin</function> e <function>tan</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/dechex.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/dechex.xml:1.3 --- /dev/null Fri May 3 20:32:31 2002 +++ phpdoc/pt_BR/reference/math/functions/dechex.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id="function.dechex"> + <refnamediv> + <refname>dechex</refname> + <refpurpose>Decimal para hexadecimal</refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>string</type><methodname>dechex</methodname> + <methodparam><type>int</type><parameter>numero</parameter></methodparam> + </methodsynopsis> + <para> + Retorna uma string contendo a representação hexadecimal do + argumento numero dado. O maior número que pode + ser convertido é 2147483647 em decimal resultando em "7fffffff". + </para> + <para> + Veja também <function>hexdec</function>. + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/pt_BR/reference/math/functions/expm1.xml diff -u /dev/null phpdoc/pt_BR/reference/math/functions/expm1.xml:1.3 --- /dev/null Fri May 3 20:32:31 2002 +++ phpdoc/pt_BR/reference/math/functions/expm1.xml Fri May 3 20:32:30 2002 @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: rarruda Status: ready --> + <refentry id='function.expm1'> + <refnamediv> + <refname>expm1</refname> + <refpurpose> + Retorna exp(numero) - 1, computado de forma que é preciso mesmo + quando o valor do número é perto de zero. + </refpurpose> + </refnamediv> + <refsect1> + <title>Descrição</title> + <methodsynopsis> + <type>float</type><methodname>expm1</methodname> + <methodparam><type>float</type><parameter>numero</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->