13
13
<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" version="5.0-subset Scilab" xml:id="isequal" xml:lang="en">
15
<refname>isequal</refname>
16
<refpurpose>compara��o de objetos</refpurpose>
19
<title>Seq��ncia de Chamamento</title>
20
<synopsis>t=isequal(a,b)
25
<title>Par�metros</title>
28
<term>a, b , ...</term>
30
<para>vari�veis de quaisquer tipos </para>
36
<para>um booleano</para>
42
<title>Descri��o</title>
44
<literal> isequal</literal> compara seus argumentos. Se todos eles
45
forem iguais, a fun��o retorna <literal> %t</literal> e em caso contr�rio,
46
retorna <literal> %f</literal> .
48
<para>Na compara��o de listas, estruturas, etc., a o processo � feito
49
recursivamente e a ordem dos campos importa.
51
<para>Dados de ponto flutuante s�o comparados de acordo com a regra IEEE,
52
i.e., valores NaN ("n�o � um n�mero") n�o s�o iguais. Ver <link linkend="isequalbitwise">isequalbitwise</link> para compara��es bit a
57
<title>Exemplos</title>
58
<programlisting role="example"><![CDATA[
15
<refname>isequal</refname>
16
<refpurpose>compara��o de objetos</refpurpose>
19
<title>Seq��ncia de Chamamento</title>
20
<synopsis>t=isequal(a,b)
25
<title>Par�metros</title>
28
<term>a, b , ...</term>
30
<para>vari�veis de quaisquer tipos </para>
36
<para>um booleano</para>
42
<title>Descri��o</title>
44
<literal> isequal</literal> compara seus argumentos. Se todos eles
45
forem iguais, a fun��o retorna <literal> %t</literal> e em caso contr�rio,
46
retorna <literal> %f</literal> .
48
<para>Na compara��o de listas, estruturas, etc., a o processo � feito
49
recursivamente e a ordem dos campos importa.
51
<para>Dados de ponto flutuante s�o comparados de acordo com a regra IEEE,
52
i.e., valores NaN ("n�o � um n�mero") n�o s�o iguais. Ver <link linkend="isequalbitwise">isequalbitwise</link> para compara��es bit a
57
<title>Exemplos</title>
58
<programlisting role="example"><![CDATA[
62
62
]]></programlisting>
64
<refsection role="see also">
65
<title>Ver Tamb�m</title>
66
<simplelist type="inline">
68
<link linkend="isequalbitwise">isequalbitwise</link>
71
<link linkend="equal">equal</link>
74
<link linkend="less">less</link>
64
<refsection role="see also">
65
<title>Ver Tamb�m</title>
66
<simplelist type="inline">
68
<link linkend="isequalbitwise">isequalbitwise</link>
71
<link linkend="equal">equal</link>
74
<link linkend="less">less</link>