update nearly all FSF copyright year lists to include 2010
[pspp] / lib / isfinite.c
index 84dcd175aa47c950c18c4c88480d95e6df2bec5f..fd0d00393b7094a7ed064e1075692cd8008563ae 100644 (file)
@@ -1,5 +1,5 @@
 /* Test for finite value (zero, subnormal, or normal, and not infinite or NaN).
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007-2010 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -19,8 +19,8 @@
 
 #include <config.h>
 
-#include "isnan.h"
-#include "isnanf.h"
+#include "isnanf-nolibm.h"
+#include "isnand-nolibm.h"
 #include "isnanl-nolibm.h"
 
 int gl_isfinitef (float x)
@@ -30,7 +30,7 @@ int gl_isfinitef (float x)
 
 int gl_isfinited (double x)
 {
-  return !isnan (x) && x - x == 0.;
+  return !isnand (x) && x - x == 0.;
 }
 
 int gl_isfinitel (long double x)