Bug Fix #14389 - Modified help pages to add int64() and uint64() descriptions. (en_US...
[scilab.git] / scilab / modules / integer / help / ru_RU / iconvert.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="ru" xml:id="iconvert">
17     <refnamediv>
18         <refname>iconvert</refname>
19         <refpurpose>преобразование в 1- или 8-байтное представление целого числа</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Последовательность вызова</title>
23         <synopsis>y = iconvert(X, itype)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Аргументы</title>
27         <variablelist>
28             <varlistentry>
29                 <term>X</term>
30                 <listitem>
31                     <para>матрица чисел с плавающей запятой или целых чисел.</para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>itype</term>
36                 <listitem>
37                     <para>целое число, тип преобразования.</para>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>y</term>
42                 <listitem>
43                     <para>матрица целых чисел, закодированных в 1, 2, 4 или 8 байтах.</para>
44                 </listitem>
45             </varlistentry>
46         </variablelist>
47     </refsection>
48     <refsection>
49         <title>Описание</title>
50         <para>
51             Функция <function>iconvert</function> преобразует и хранит данные в виде 1-,
52             2-, 4- или 8-байтных целых чисел.
53         </para>
54         <variablelist>
55             <varlistentry>
56                 <term>itype = 0</term>
57                 <listitem>
58                     <para>
59                         возвращает числа с плавающей запятой
60                     </para>
61                 </listitem>
62             </varlistentry>
63             <varlistentry>
64                 <term>itype = 1</term>
65                 <listitem>
66                     <para>
67                         возвращает числа <literal>int8</literal> в диапазоне <literal>[-128, 127]</literal>
68                     </para>
69                 </listitem>
70             </varlistentry>
71             <varlistentry>
72                 <term>itype = 11</term>
73                 <listitem>
74                     <para>
75                         возвращает числа <literal>uint8</literal> в диапазоне <literal>[0, 255]</literal>
76                     </para>
77                 </listitem>
78             </varlistentry>
79             <varlistentry>
80                 <term>itype = 2</term>
81                 <listitem>
82                     <para>
83                         возвращает числа <literal>int16</literal> в диапазоне <literal>[-32768, 32767]</literal>
84                     </para>
85                 </listitem>
86             </varlistentry>
87             <varlistentry>
88                 <term>itype = 12</term>
89                 <listitem>
90                     <para>
91                         возвращает числа <literal>uint16</literal> в диапазоне <literal>[0, 65535]</literal>
92                     </para>
93                 </listitem>
94             </varlistentry>
95             <varlistentry>
96                 <term>itype = 4</term>
97                 <listitem>
98                     <para>
99                         возвращает числа <literal>int32</literal> в диапазоне <literal>[-2147483648, 2147483647]</literal>
100                     </para>
101                 </listitem>
102             </varlistentry>
103             <varlistentry>
104                 <term>itype = 14</term>
105                 <listitem>
106                     <para>
107                         возвращает числа <literal>uint32</literal> в диапазоне <literal>[0, 4294967295]</literal>
108                     </para>
109                 </listitem>
110             </varlistentry>
111             <varlistentry>
112                 <term>itype = 8</term>
113                 <listitem>
114                     <para>
115                         возвращает числа <literal>int32</literal> в диапазоне <literal>[-9223372036854775808,9223372036854775807]</literal>
116                     </para>
117                 </listitem>
118             </varlistentry>
119             <varlistentry>
120                 <term>itype = 18</term>
121                 <listitem>
122                     <para>
123                         возвращает числа <literal>uint32</literal> в диапазоне <literal>[0, 18446744073709551616]</literal>
124                     </para>
125                 </listitem>
126             </varlistentry>
127         </variablelist>
128     </refsection>
129     <refsection>
130         <title>Примеры</title>
131         <programlisting role="example"><![CDATA[
132 b=int32([1 -120 127 312])
133 y=iconvert(b,1)
134
135 typeof(b)
136 typeof(y)
137  ]]></programlisting>
138     </refsection>
139     <refsection role="see also">
140         <title>Смотрите также</title>
141         <simplelist type="inline">
142             <member>
143                 <link linkend="double">double</link>
144             </member>
145             <member>
146                 <link linkend="int8">int8</link>
147             </member>
148             <member>
149                 <link linkend="inttype">inttype</link>
150             </member>
151         </simplelist>
152     </refsection>
153 </refentry>
154