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
|
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 --- |