~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/pt_BR/floating_point/nearfloat.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
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:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="nearfloat" xml:lang="en">
3
 
  <refnamediv>
4
 
    <refname>nearfloat</refname>
5
 
    <refpurpose>get previous or next floating-point number</refpurpose>
6
 
  </refnamediv>
7
 
  <refsynopsisdiv>
8
 
    <title>Seq��ncia de Chamamento</title>
9
 
    <synopsis>xnear = nearfloat(dir, x)</synopsis>
10
 
  </refsynopsisdiv>
11
 
  <refsection>
12
 
    <title>Par�metros</title>
13
 
    <variablelist>
14
 
      <varlistentry>
15
 
        <term>dir</term>
16
 
        <listitem>
17
 
          <para>string ("succ" ou "pred") </para>
18
 
        </listitem>
19
 
      </varlistentry>
20
 
      <varlistentry>
21
 
        <term>x</term>
22
 
        <listitem>
23
 
          <para>escalar real, vetor ou matriz de reais </para>
24
 
        </listitem>
25
 
      </varlistentry>
26
 
      <varlistentry>
27
 
        <term>xnear</term>
28
 
        <listitem>
29
 
          <para>escalar real, vetor ou matriz de reais </para>
30
 
        </listitem>
31
 
      </varlistentry>
32
 
    </variablelist>
33
 
  </refsection>
34
 
  <refsection>
35
 
    <title>Descri��o</title>
36
 
    <para>Esta fun��o computa, elemento a elemento, os vizinhos
37
 
      correspondentes dos elementos de <literal>x</literal> (no conjunto de
38
 
      pontos flutuantes subjacente, ver number_properties), os sucessores se
39
 
      <literal>dir = "succ"</literal> e e os predecessores se <literal>dir =
40
 
        "pred"
41
 
      </literal>
42
 
    </para>
43
 
  </refsection>
44
 
  <refsection>
45
 
    <title>Exemplos</title>
46
 
    <programlisting role="example"><![CDATA[ 
 
3
    <refnamediv>
 
4
        <refname>nearfloat</refname>
 
5
        <refpurpose>get previous or next floating-point number</refpurpose>
 
6
    </refnamediv>
 
7
    <refsynopsisdiv>
 
8
        <title>Seq��ncia de Chamamento</title>
 
9
        <synopsis>xnear = nearfloat(dir, x)</synopsis>
 
10
    </refsynopsisdiv>
 
11
    <refsection>
 
12
        <title>Par�metros</title>
 
13
        <variablelist>
 
14
            <varlistentry>
 
15
                <term>dir</term>
 
16
                <listitem>
 
17
                    <para>string ("succ" ou "pred") </para>
 
18
                </listitem>
 
19
            </varlistentry>
 
20
            <varlistentry>
 
21
                <term>x</term>
 
22
                <listitem>
 
23
                    <para>escalar real, vetor ou matriz de reais </para>
 
24
                </listitem>
 
25
            </varlistentry>
 
26
            <varlistentry>
 
27
                <term>xnear</term>
 
28
                <listitem>
 
29
                    <para>escalar real, vetor ou matriz de reais </para>
 
30
                </listitem>
 
31
            </varlistentry>
 
32
        </variablelist>
 
33
    </refsection>
 
34
    <refsection>
 
35
        <title>Descri��o</title>
 
36
        <para>Esta fun��o computa, elemento a elemento, os vizinhos
 
37
            correspondentes dos elementos de <literal>x</literal> (no conjunto de
 
38
            pontos flutuantes subjacente, ver number_properties), os sucessores se
 
39
            <literal>dir = "succ"</literal> e e os predecessores se <literal>dir =
 
40
                "pred"
 
41
            </literal>
 
42
        </para>
 
43
    </refsection>
 
44
    <refsection>
 
45
        <title>Exemplos</title>
 
46
        <programlisting role="example"><![CDATA[ 
47
47
format("e",22)
48
48
nearfloat("succ",1) - 1
49
49
1 - nearfloat("pred",1)
50
50
format("v") //retoma o formato padr�o
51
51
 ]]></programlisting>
52
 
  </refsection>
53
 
  <refsection role="see also">
54
 
    <title>Ver Tamb�m</title>
55
 
    <simplelist type="inline">
56
 
      <member>
57
 
        <link linkend="number_properties">number_properties</link>
58
 
      </member>
59
 
      <member>
60
 
        <link linkend="frexp">frexp</link>
61
 
      </member>
62
 
    </simplelist>
63
 
  </refsection>
 
52
    </refsection>
 
53
    <refsection role="see also">
 
54
        <title>Ver Tamb�m</title>
 
55
        <simplelist type="inline">
 
56
            <member>
 
57
                <link linkend="number_properties">number_properties</link>
 
58
            </member>
 
59
            <member>
 
60
                <link linkend="frexp">frexp</link>
 
61
            </member>
 
62
        </simplelist>
 
63
    </refsection>
64
64
</refentry>