Deleted Added
full compact
e_exp.c (176373) e_exp.c (176451)
1
2/* @(#)e_exp.c 1.6 04/04/22 */
3/*
4 * ====================================================
5 * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
6 *
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
9 * is preserved.
10 * ====================================================
11 */
12
1
2/* @(#)e_exp.c 1.6 04/04/22 */
3/*
4 * ====================================================
5 * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
6 *
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
9 * is preserved.
10 * ====================================================
11 */
12
13#ifndef lint
14static char rcsid[] = "$FreeBSD: head/lib/msun/src/e_exp.c 176373 2008-02-17 21:53:19Z das $";
15#endif
13#include <sys/cdefs.h>
14__FBSDID("$FreeBSD: head/lib/msun/src/e_exp.c 176451 2008-02-22 02:30:36Z das $");
16
17/* __ieee754_exp(x)
18 * Returns the exponential of x.
19 *
20 * Method
21 * 1. Argument reduction:
22 * Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
23 * Given x, find r and integer k such that

--- 136 unchanged lines hidden ---
15
16/* __ieee754_exp(x)
17 * Returns the exponential of x.
18 *
19 * Method
20 * 1. Argument reduction:
21 * Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
22 * Given x, find r and integer k such that

--- 136 unchanged lines hidden ---