From: bangerth Date: Sun, 26 Aug 2007 23:47:42 +0000 (+0000) Subject: Clarify comment X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88e9f9f733241c7897d46463c90530bdb2ddb917;p=dealii-svn.git Clarify comment git-svn-id: https://svn.dealii.org/trunk@15049 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/numbers.h b/deal.II/base/include/base/numbers.h index c99eaf797f..cdf52f15a9 100644 --- a/deal.II/base/include/base/numbers.h +++ b/deal.II/base/include/base/numbers.h @@ -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 + * double. In other + * words, if you give a very + * large number of type + * long double, this + * function may return + * false even if the + * number is finite with respect + * to type long + * double. */ bool is_finite (const double x); }