mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
Formerly alpha/__math.h.~2~
This commit is contained in:
parent
d207263b8c
commit
cda6c9cbeb
@ -18,11 +18,17 @@ Cambridge, MA 02139, USA. */
|
||||
|
||||
#if defined (__GNUC__) && !defined (__NO_MATH_INLINES)
|
||||
|
||||
extern __inline
|
||||
extern __inline double
|
||||
__copysign (double __x, double __y)
|
||||
{
|
||||
__asm ("cpys %1, %2, %0" : "=f" (__x) : "f" (__y), "f" (__x));
|
||||
return __x;
|
||||
}
|
||||
|
||||
extern __inline double
|
||||
fabs (double __x)
|
||||
{
|
||||
return __copysign (0, __x);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user