Formerly m68k/fpu/__logb.c.~3~

This commit is contained in:
Roland McGrath 1992-05-01 18:36:48 +00:00
parent 61e097530b
commit fbe5d07fad

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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 <ansidecl.h>
#include <math.h> #include <math.h>
#ifdef __GNUC__
/* Return the base 2 signed integral exponent of X. */ /* Return the base 2 signed integral exponent of X. */
double double
DEFUN(__logb, (x), double x) DEFUN(__logb, (x), double x)
@ -35,3 +37,7 @@ DEFUN(__logb, (x), double x)
return x; return x;
} }
#else
#include <sysdeps/ieee754/__logb.c>
#endif