projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e0975
)
Formerly m68k/fpu/__logb.c.~3~
author
Roland McGrath
<roland@gnu.org>
Fri, 1 May 1992 18:36:48 +0000
(18:36 +0000)
committer
Roland McGrath
<roland@gnu.org>
Fri, 1 May 1992 18:36:48 +0000
(18:36 +0000)
sysdeps/m68k/fpu/logb.c
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/fpu/logb.c
b/sysdeps/m68k/fpu/logb.c
index
614581e
..
3bc3a4e
100644
(file)
--- a/
sysdeps/m68k/fpu/logb.c
+++ b/
sysdeps/m68k/fpu/logb.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1991
, 1992
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@
-19,6
+19,8
@@
Cambridge, MA 02139, USA. */
#include <ansidecl.h>
#include <math.h>
+#ifdef __GNUC__
+
/* Return the base 2 signed integral exponent of X. */
double
DEFUN(__logb, (x), double x)
@@
-35,3
+37,7
@@
DEFUN(__logb, (x), double x)
return x;
}
+
+#else
+#include <sysdeps/ieee754/__logb.c>
+#endif