From d31d7f622626f66a4c70ad41d81740075071e26c Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 26 Aug 2007 23:47:42 +0000 Subject: [PATCH] Clarify comment git-svn-id: https://svn.dealii.org/trunk@15049 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/numbers.h | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) 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); } -- 2.39.5