]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Clarify comment
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Aug 2007 23:47:42 +0000 (23:47 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 26 Aug 2007 23:47:42 +0000 (23:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@15049 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/numbers.h

index c99eaf797f6d079d00c5aaedc0073115f3bfbd15..cdf52f15a99c07b87cc0094a97a7f487065c860b 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2006 by the deal.II authors
+//    Copyright (C) 2006, 2007 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -104,10 +104,22 @@ namespace deal_II_numbers {
 
                                             /**
                                              * Return @p true if the given
-                                             * value is a finite floating point
-                                             * number, i.e. is neither plus or
-                                             * minus infinity nor NaN (not a
-                                             * number).
+                                             * value is a finite floating
+                                             * point number, i.e. is neither
+                                             * plus or minus infinity nor NaN
+                                             * (not a number).
+                                             *
+                                             * Note that the argument type of
+                                             * this function is
+                                             * <code>double</code>. In other
+                                             * words, if you give a very
+                                             * large number of type
+                                             * <code>long double</code>, this
+                                             * function may return
+                                             * <code>false</code> even if the
+                                             * number is finite with respect
+                                             * to type <code>long
+                                             * double</code>.
                                              */
   bool is_finite (const double x);
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.