diff options
Diffstat (limited to 'libjava/classpath/native/fdlibm/s_rint.c')
-rw-r--r-- | libjava/classpath/native/fdlibm/s_rint.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libjava/classpath/native/fdlibm/s_rint.c b/libjava/classpath/native/fdlibm/s_rint.c index 5d3f8114e2b..fcd3916e824 100644 --- a/libjava/classpath/native/fdlibm/s_rint.c +++ b/libjava/classpath/native/fdlibm/s_rint.c @@ -1,12 +1,12 @@ -/* @(#)s_rint.c 5.1 93/09/24 */ +/* @(#)s_rint.c 1.3 95/01/18 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * - * Developed at SunPro, a Sun Microsystems, Inc. business. + * Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice + * software is freely granted, provided that this notice * is preserved. * ==================================================== */ @@ -28,7 +28,7 @@ #ifdef __STDC__ static const double #else -static double +static double #endif TWO52[2]={ 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */ @@ -50,7 +50,7 @@ TWO52[2]={ sx = (i0>>31)&1; j0 = ((i0>>20)&0x7ff)-0x3ff; if(j0<20) { - if(j0<0) { + if(j0<0) { if(((i0&0x7fffffff)|i1)==0) return x; i1 |= (i0&0x0fffff); i0 &= 0xfffe0000; @@ -83,5 +83,4 @@ TWO52[2]={ w = TWO52[sx]+x; return w-TWO52[sx]; } - #endif /* _DOUBLE_IS_32BITS */ |