e_log2.c (7dbbb6dde39391c17de03d7901dad76de99a14ff) e_log2.c (25a4d6bfda29119996f6bd93c02914ba646634fa)
1
2/* @(#)e_log10.c 1.3 95/01/18 */
3/*
4 * ====================================================
5 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 *
7 * Developed at SunSoft, a Sun Microsystems, Inc. business.
8 * Permission to use, copy, modify, and distribute this

--- 95 unchanged lines hidden (view full) ---

104
105 /* spadd(val_hi, val_lo, y), except for not using double_t: */
106 w = y + val_hi;
107 val_lo += (y - w) + val_hi;
108 val_hi = w;
109
110 return val_lo + val_hi;
111}
1
2/* @(#)e_log10.c 1.3 95/01/18 */
3/*
4 * ====================================================
5 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 *
7 * Developed at SunSoft, a Sun Microsystems, Inc. business.
8 * Permission to use, copy, modify, and distribute this

--- 95 unchanged lines hidden (view full) ---

104
105 /* spadd(val_hi, val_lo, y), except for not using double_t: */
106 w = y + val_hi;
107 val_lo += (y - w) + val_hi;
108 val_hi = w;
109
110 return val_lo + val_hi;
111}
112
113#if (LDBL_MANT_DIG == 53)
114__weak_reference(log2, log2l);
115#endif