Mercurial > hg > octave-kai > gnulib-hg
comparison lib/signbitf.c @ 11506:d800366aa3fe
Avoid link error when creating a namespace clean library.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 25 Apr 2009 17:22:50 +0200 |
parents | ebb7ea0c94e8 |
children | 0b09102d516e |
comparison
equal
deleted
inserted
replaced
11505:a051fb724013 | 11506:d800366aa3fe |
---|---|
1 /* signbit() macro: Determine the sign bit of a floating-point number. | 1 /* signbit() macro: Determine the sign bit of a floating-point number. |
2 Copyright (C) 2007 Free Software Foundation, Inc. | 2 Copyright (C) 2007, 2009 Free Software Foundation, Inc. |
3 | 3 |
4 This program is free software: you can redistribute it and/or modify | 4 This program is free software: you can redistribute it and/or modify |
5 it under the terms of the GNU General Public License as published by | 5 it under the terms of the GNU General Public License as published by |
6 the Free Software Foundation; either version 3 of the License, or | 6 the Free Software Foundation; either version 3 of the License, or |
7 (at your option) any later version. | 7 (at your option) any later version. |
20 #include <math.h> | 20 #include <math.h> |
21 | 21 |
22 #include <string.h> | 22 #include <string.h> |
23 #include "isnanf-nolibm.h" | 23 #include "isnanf-nolibm.h" |
24 #include "float+.h" | 24 #include "float+.h" |
25 | |
26 #undef gl_signbitf | |
27 | 25 |
28 int | 26 int |
29 gl_signbitf (float arg) | 27 gl_signbitf (float arg) |
30 { | 28 { |
31 #if defined FLT_SIGNBIT_WORD && defined FLT_SIGNBIT_BIT | 29 #if defined FLT_SIGNBIT_WORD && defined FLT_SIGNBIT_BIT |