7b8d517f31a4f898e68bf7ad611cc19abf025ee1
[scilab.git] / scilab / modules / integer / help / fr_FR / iconvert.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="fr" xml:id="iconvert">
3     <refnamediv>
4         <refname>iconvert </refname>
5         <refpurpose>conversion au codage entier à 1,2 ou 4 octets  </refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>Séquence d'appel</title>
9         <synopsis>y=iconvert(X,itype)</synopsis>
10     </refsynopsisdiv>
11     <refsection>
12         <title>Paramètres</title>
13         <variablelist>
14             <varlistentry>
15                 <term>X  </term>
16                 <listitem>
17                     <para>matrice de flottants ou d'entiers
18                     </para>
19                 </listitem>
20             </varlistentry>
21             <varlistentry>
22                 <term>y  </term>
23                 <listitem>
24                     <para>matrice d'entiers codés sur 1,2 ou 4 octets.
25                     </para>
26                 </listitem>
27             </varlistentry>
28         </variablelist>
29     </refsection>
30     <refsection>
31         <title>Description</title>
32         <para>
33             Convertit et stocke sous forme d'entiers à 1,2 ou 4 octets.
34         </para>
35         <variablelist>
36             <varlistentry>
37                 <term>itype=0</term>
38                 <listitem>
39                     <para>renvoie des nombres à virgule flottante
40                     </para>
41                 </listitem>
42             </varlistentry>
43             <varlistentry>
44                 <term>itype=1</term>
45                 <listitem>
46                     <para>renvoie et stocke dans y des entiers int8 dans l'intervalle [-128,127] 
47                     </para>
48                 </listitem>
49             </varlistentry>
50             <varlistentry>
51                 <term>itype=11</term>
52                 <listitem>
53                     <para>renvoie et stocke dans y des entiers uint8 dans l'intervalle [0,255] 
54                     </para>
55                 </listitem>
56             </varlistentry>
57             <varlistentry>
58                 <term>itype=2</term>
59                 <listitem>
60                     <para>renvoie et stocke dans y des entiers int16 dans l'intervalle [-32768,32767] 
61                     </para>
62                 </listitem>
63             </varlistentry>
64             <varlistentry>
65                 <term>itype=12</term>
66                 <listitem>
67                     <para>renvoie et stocke dans y des entiers uint16 dans l'intervalle [0, 65535] 
68                     </para>
69                 </listitem>
70             </varlistentry>
71             <varlistentry>
72                 <term>itype=4</term>
73                 <listitem>
74                     <para>renvoie et stocke dans y des entiers int32 dans
75                         l'intervalle[-2147483648,2147483647] 
76                     </para>
77                 </listitem>
78             </varlistentry>
79             <varlistentry>
80                 <term>itype=14</term>
81                 <listitem>
82                     <para>renvoie et stocke dans y des entiers uint32 dans l'intervalle [0, 4294967295] 
83                     </para>
84                 </listitem>
85             </varlistentry>
86         </variablelist>
87     </refsection>
88     <refsection>
89         <title>Exemples</title>
90         <programlisting role="example"><![CDATA[ 
91 b=int32([1 -120 127 312])
92 y=iconvert(b,1)
93  ]]></programlisting>
94     </refsection>
95     <refsection role="see also">
96         <title>Voir aussi</title>
97         <simplelist type="inline">
98             <member>
99                 <link linkend="double">double</link>
100             </member>
101             <member>
102                 <link linkend="inttype">inttype</link>
103             </member>
104         </simplelist>
105     </refsection>
106 </refentry>