Merge cosmetic changes from e_rem_pio2.c 1.10 (convert to __FBSDID();
fix indentation and return type of __ieee754_rem_pio2()). Remove unused variables.
This commit is contained in:
parent
30565c600e
commit
f0e3007ba6
@ -14,9 +14,8 @@
|
||||
* ====================================================
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] = "$FreeBSD$";
|
||||
#endif
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/* __ieee754_rem_pio2f(x,y)
|
||||
*
|
||||
@ -35,14 +34,13 @@ static char rcsid[] = "$FreeBSD$";
|
||||
*/
|
||||
|
||||
static const double
|
||||
zero = 0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
|
||||
half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
|
||||
two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
|
||||
invpio2 = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */
|
||||
pio2_1 = 1.57079632673412561417e+00, /* 0x3FF921FB, 0x54400000 */
|
||||
pio2_1t = 6.07710050650619224932e-11; /* 0x3DD0B461, 0x1A626331 */
|
||||
|
||||
int32_t __ieee754_rem_pio2f(float x, float *y)
|
||||
int
|
||||
__ieee754_rem_pio2f(float x, float *y)
|
||||
{
|
||||
double w,t,r,fn;
|
||||
double tx[1],ty[2];
|
||||
|
Loading…
Reference in New Issue
Block a user