mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Formerly m68k/fpu/atan2.c.~4~
This commit is contained in:
parent
e745f90155
commit
5496287905
@ -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__
|
||||
|
||||
static CONST double
|
||||
PIo4 = 7.8539816339744827900E-1 , /*Hex 2^ -1 * 1.921FB54442D18 */
|
||||
PIo2 = 1.5707963267948965580E0 , /*Hex 2^ 0 * 1.921FB54442D18 */
|
||||
@ -66,3 +68,7 @@ DEFUN(atan2, (y, x), double y AND double x)
|
||||
|
||||
return __copysign(atan(y / x), signy);
|
||||
}
|
||||
|
||||
#else
|
||||
#include <sysdeps/ieee754/atan2.c>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user