cvs: phpdoc-de /reference/math/functions is-nan.xml
| From: | Hartmut Holzgraefe | Date: | Sun, 19 Oct 2008 17:05:42 +0000 |
| Subject: | cvs: phpdoc-de /reference/math/functions is-nan.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2841@lists.php.net to get a copy of this message | ||
hholzgra Sun Oct 19 17:05:42 2008 UTC
Modified files:
/phpdoc-de/reference/math/functions is-nan.xml
Log:
translation update
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/math/functions/is-nan.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-de/reference/math/functions/is-nan.xml
diff -u phpdoc-de/reference/math/functions/is-nan.xml:1.4
phpdoc-de/reference/math/functions/is-nan.xml:1.5
--- phpdoc-de/reference/math/functions/is-nan.xml:1.4 Sat Aug 9 11:30:45 2008
+++ phpdoc-de/reference/math/functions/is-nan.xml Sun Oct 19 17:05:42 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 -->
-<!-- EN-Revision: 1.8 Maintainer: hholzgra Status: ready -->
+<!-- EN-Revision: 1.9 Maintainer: hholzgra Status: ready -->
<refentry xml:id='function.is-nan' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>is_nan</refname>
@@ -39,6 +39,33 @@
Zahl ist, sonst &false;.
</para>
</refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>is_nan</function> Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+// Undefinierte Berechnung liefert ein NaN Ergebnis
+$nan = acos(8);
+
+var_dump($nan, is_nan($nan));
+?>
+]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+float(NAN)
+bool(true)
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>