s_ceil.c (117912) | s_ceil.c (176280) |
---|---|
1/* @(#)s_ceil.c 5.1 93/09/24 */ 2/* 3 * ==================================================== 4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 5 * 6 * Developed at SunPro, a Sun Microsystems, Inc. business. 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 | 1/* @(#)s_ceil.c 5.1 93/09/24 */ 2/* 3 * ==================================================== 4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 5 * 6 * Developed at SunPro, a Sun Microsystems, Inc. business. 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/s_ceil.c 117912 2003-07-23 04:53:47Z peter $"; | 14static char rcsid[] = "$FreeBSD: head/lib/msun/src/s_ceil.c 176280 2008-02-14 15:10:34Z bde $"; |
15#endif 16 17/* 18 * ceil(x) 19 * Return x rounded toward -inf to integral value 20 * Method: 21 * Bit twiddling. 22 * Exception: --- 42 unchanged lines hidden (view full) --- 65 } 66 } 67 i1 &= (~i); 68 } 69 } 70 INSERT_WORDS(x,i0,i1); 71 return x; 72} | 15#endif 16 17/* 18 * ceil(x) 19 * Return x rounded toward -inf to integral value 20 * Method: 21 * Bit twiddling. 22 * Exception: --- 42 unchanged lines hidden (view full) --- 65 } 66 } 67 i1 &= (~i); 68 } 69 } 70 INSERT_WORDS(x,i0,i1); 71 return x; 72} |
73 74#if LDBL_MANT_DIG == 53 75__weak_reference(ceil, ceill); 76#endif |
|