Deleted Added
full compact
s_ceil.c (176280) s_ceil.c (176305)
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
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 176280 2008-02-14 15:10:34Z bde $";
15#endif
13#include <sys/cdefs.h>
14__FBSDID("$FreeBSD: head/lib/msun/src/s_ceil.c 176305 2008-02-15 07:01:40Z bde $");
16
17/*
18 * ceil(x)
19 * Return x rounded toward -inf to integral value
20 * Method:
21 * Bit twiddling.
22 * Exception:
23 * Inexact flag raised if x not equal to ceil(x).
24 */
25
15
16/*
17 * ceil(x)
18 * Return x rounded toward -inf to integral value
19 * Method:
20 * Bit twiddling.
21 * Exception:
22 * Inexact flag raised if x not equal to ceil(x).
23 */
24
25#include <float.h>
26
26#include "math.h"
27#include "math_private.h"
28
29static const double huge = 1.0e300;
30
31double
32ceil(double x)
33{

--- 43 unchanged lines hidden ---
27#include "math.h"
28#include "math_private.h"
29
30static const double huge = 1.0e300;
31
32double
33ceil(double x)
34{

--- 43 unchanged lines hidden ---