Bug Fix #14389 - Modified help pages to add int64() and uint64() descriptions. (en_US...
[scilab.git] / scilab / modules / integer / help / pt_BR / iconvert.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) INRIA -
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="iconvert" xml:lang="en">
17     <refnamediv>
18         <refname>iconvert</refname>
19         <refpurpose>conversão para representação inteira de 1 a 8
20             bytes
21         </refpurpose>
22     </refnamediv>
23     <refsynopsisdiv>
24         <title>Seqüência de Chamamento</title>
25         <synopsis>y=iconvert(X,itype)</synopsis>
26     </refsynopsisdiv>
27     <refsection>
28         <title>Parâmetros</title>
29         <variablelist>
30             <varlistentry>
31                 <term>X</term>
32                 <listitem>
33                     <para>matriz de floats ou inteiros </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>y</term>
38                 <listitem>
39                     <para>matriz de inteiros codificados em 1, 2, 4 ou 8 bytes </para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection>
45         <title>Descrição</title>
46         <para>Converte e armazena dados para inteiros de 1, 2, 4 ou 8 bytes.</para>
47         <variablelist>
48             <varlistentry>
49                 <term>itype=0</term>
50                 <listitem>
51                     <para>retorna números em ponto flutuante </para>
52                 </listitem>
53             </varlistentry>
54             <varlistentry>
55                 <term>itype=1</term>
56                 <listitem>
57                     <para>retorna números int8 no intervalo [-128,127] </para>
58                 </listitem>
59             </varlistentry>
60             <varlistentry>
61                 <term>itype=11</term>
62                 <listitem>
63                     <para>retorna números uint8 no intervalo [0,255]</para>
64                 </listitem>
65             </varlistentry>
66             <varlistentry>
67                 <term>itype=2</term>
68                 <listitem>
69                     <para>retorna números int16 no intervalo [-32768,32767] </para>
70                 </listitem>
71             </varlistentry>
72             <varlistentry>
73                 <term>itype=12</term>
74                 <listitem>
75                     <para>retorna números uint16 no intervalo [0, 65535] </para>
76                 </listitem>
77             </varlistentry>
78             <varlistentry>
79                 <term>itype=4</term>
80                 <listitem>
81                     <para>retorna números int32 no intervalo [-2147483648,2147483647]
82                     </para>
83                 </listitem>
84             </varlistentry>
85             <varlistentry>
86                 <term>itype=14</term>
87                 <listitem>
88                     <para>retorna números uint32 no intervalo [0, 4294967295]</para>
89                 </listitem>
90             </varlistentry>
91             <varlistentry>
92                 <term>itype=4</term>
93                 <listitem>
94                     <para>retorna números int32 no intervalo [-9223372036854775808,9223372036854775807]
95                     </para>
96                 </listitem>
97             </varlistentry>
98             <varlistentry>
99                 <term>itype=14</term>
100                 <listitem>
101                     <para>retorna números uint32 no intervalo [0, 18446744073709551616]</para>
102                 </listitem>
103             </varlistentry>
104         </variablelist>
105     </refsection>
106     <refsection>
107         <title>Exemplos</title>
108         <programlisting role="example"><![CDATA[
109 b=int32([1 -120 127 312])
110 y=iconvert(b,1)
111  ]]></programlisting>
112     </refsection>
113     <refsection role="see also">
114         <title>Ver Também</title>
115         <simplelist type="inline">
116             <member>
117                 <link linkend="double">double</link>
118             </member>
119             <member>
120                 <link linkend="inttype">inttype</link>
121             </member>
122         </simplelist>
123     </refsection>
124 </refentry>