X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsignbitd.c;h=9a7d725f782787bc7b281ce1c4699dc6d0b402f5;hb=fa3486514bd8f15f8eb4c49821d0356b52e5a335;hp=8907766f209cd99cd0a44271dbd761e64c825137;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/signbitd.c b/lib/signbitd.c index 8907766f2..9a7d725f7 100644 --- a/lib/signbitd.c +++ b/lib/signbitd.c @@ -1,5 +1,5 @@ /* signbit() macro: Determine the sign bit of a floating-point number. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 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 @@ -20,7 +20,7 @@ #include #include -#include "isnan.h" +#include "isnand-nolibm.h" #include "float+.h" #undef gl_signbitd @@ -45,7 +45,7 @@ gl_signbitd (double arg) #else /* This does not do the right thing for NaN, but this is irrelevant for most use cases. */ - if (isnan (arg)) + if (isnand (arg)) return 0; if (arg < 0.0) return 1;