1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 * Copyright (C) 2017 - Samuel GOUGEON
7 * Copyright (C) 2012 - 2016 - Scilab Enterprises
9 * This file is hereby licensed under the terms of the GNU GPL v2.0,
10 * pursuant to article 5.3.4 of the CeCILL v.2.1.
11 * This file was originally licensed under the terms of the CeCILL v2.1,
12 * and continues to be available under such terms.
13 * For more information, see the COPYING file which you should have received
14 * along with this program.
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
18 xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
19 xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
20 xmlns:scilab="http://www.scilab.org" xml:id="ieee" xml:lang="ja">
22 <refname>ieee</refname>
23 <refpurpose>浮動小数点例外モードを設定</refpurpose>
48 <literal>ieee()</literal> はカレントの浮動小数点例外モード
54 <para>浮動小数点例外はエラーを発生</para>
56 <literal>%inf</literal> and <literal>%nan</literal> special values can be
57 used in this mode without error. For instance, <literal>%inf/%inf</literal>,
58 <literal>%inf-%inf</literal> or <literal>%inf/%nan</literal> are known
72 浮動小数点例外は無限大(Inf)またはNaNを発生.
78 <literal>ieee(mod)</literal> sets the current floating point exception mode to
79 <varname>mod</varname>.
82 The default initial mode is 2. This default value may be set in any of the following ways:
85 Through the Preferences GUI: <code>preferences</code>, in the section
86 <emphasis role="italic">General => Environment => ieee</emphasis>.
89 Equivalently, using <code>xmlSetValues</code> as follows (to set the mode to 1) :
91 <literal>xmlSetValues("//general/body/environment", ["fpe";"1"])</literal>
95 Or by using <literal>ieee(mod)</literal> in your startup file.
100 ライブラリのアルゴリズムの内部で発生した浮動小数点例外は,
101 まだ<literal>ieee</literal>モードでは設定できません.
106 <programlisting role="example"><![CDATA[
111 <refsection role="see also">
113 <simplelist type="inline">
115 <link linkend="percentnan">%nan</link>
118 <link linkend="percentinf">%inf</link>
121 <link linkend="isinf">isinf</link>
124 <link linkend="isnan">isnan</link>
127 <link linkend="number_properties">number_properties</link>
131 <refsection role="history">
135 <revnumber>6.0.0</revnumber>
136 <revremark>2 is now the initial mode value.</revremark>