mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Formerly m68k/fpu/__logb.c.~3~
This commit is contained in:
parent
61e097530b
commit
fbe5d07fad
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user