diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-06-15 17:08:04 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2001-06-15 17:08:04 +0000 |
commit | 053ab1b6727cdcfaabfe8b0da3d883175a8ddae5 (patch) | |
tree | 45058931b6137d7d457ac4f62eb7f44cfc6fba2c /src/jtutil/fuzzy.cc | |
parent | 741bf37c76895d54a3887b99dd1024ee96ced2cc (diff) |
comment whitespace tweaks
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@35 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/jtutil/fuzzy.cc')
-rw-r--r-- | src/jtutil/fuzzy.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jtutil/fuzzy.cc b/src/jtutil/fuzzy.cc index f6238de..609ba7a 100644 --- a/src/jtutil/fuzzy.cc +++ b/src/jtutil/fuzzy.cc @@ -13,7 +13,7 @@ #include "jt/stdc.h" #include "jt/util++.hh" -//***************************************************************************** +//****************************************************************************** template <typename fpt> bool fuzzy<fpt>::EQ(fpt x, fpt y) @@ -24,7 +24,7 @@ fpt epsilon = jtutil::max(tolerance, tolerance*max_abs); return jtutil::abs<fpt>(x-y) <= epsilon; } -//***************************************************************************** +//****************************************************************************** template <typename fpt> bool fuzzy<fpt>::is_integer(fpt x) @@ -33,7 +33,7 @@ int i = round<fpt>::to_integer(x); return EQ(x, fpt(i)); } -//***************************************************************************** +//****************************************************************************** template <typename fpt> int fuzzy<fpt>::floor(fpt x) @@ -43,7 +43,7 @@ return fuzzy<fpt>::is_integer(x) : round<fpt>::floor(x); } -//***************************************************************************** +//****************************************************************************** template <typename fpt> int fuzzy<fpt>::ceiling(fpt x) @@ -53,9 +53,11 @@ return fuzzy<fpt>::is_integer(x) : round<fpt>::ceiling(x); } -//***************************************************************************** +//****************************************************************************** +//****************************************************************************** // *** instantiations of fuzzy template for <float> and <double> -//***************************************************************************** +//****************************************************************************** +//****************************************************************************** // instantiation for <float> template class fuzzy<float>; |