00001 // QMcBeaver 00002 // 00003 // Constructed by 00004 // 00005 // Michael Todd Feldmann 00006 // and 00007 // David Randall "Chip" Kent IV 00008 // 00009 // Copyright 2004. All rights reserved. 00010 // 00011 // drkent@users.sourceforge.net mtfeldmann@users.sourceforge.net 00012 00013 /************************************************************************** 00014 This SOFTWARE has been authored or contributed to by an employee or 00015 employees of the University of California, operator of the Los Alamos 00016 National Laboratory under Contract No. W-7405-ENG-36 with the U.S. 00017 Department of Energy. The U.S. Government has rights to use, reproduce, 00018 and distribute this SOFTWARE. Neither the Government nor the University 00019 makes any warranty, express or implied, or assumes any liability or 00020 responsibility for the use of this SOFTWARE. If SOFTWARE is modified 00021 to produce derivative works, such modified SOFTWARE should be clearly 00022 marked, so as not to confuse it with the version available from LANL. 00023 00024 Additionally, this program is free software; you can distribute it and/or 00025 modify it under the terms of the GNU General Public License. Accordingly, 00026 this program is distributed in the hope that it will be useful, but WITHOUT 00027 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00028 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00029 for more details. 00030 **************************************************************************/ 00031 00032 00033 00034 #ifndef IeeeMath_H 00035 #define IeeeMath_H 00036 00037 #include <limits> 00038 #include <math.h> 00039 00045 class IeeeMath 00046 { 00047 public: 00057 template <class T> 00058 static bool isNaN(T x); 00059 }; 00060 00061 #endif