Add __RCSID(), u_intX_t -> uintX_t.
cvs: ----------------------------------------------------------------------
This commit is contained in:
parent
5fe20e8a44
commit
3e96ddc120
@ -14,6 +14,10 @@
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD: src/lib/msun/src/s_truncf.c,v 1.1 2004/06/20 09:25:43 das Exp $");
|
||||
#endif
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBM_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: s_truncf.c,v 1.2 2006/03/25 16:55:53 xtraeme Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
* truncf(x)
|
||||
@ -33,7 +37,7 @@ float
|
||||
truncf(float x)
|
||||
{
|
||||
int32_t i0,j0;
|
||||
u_int32_t i;
|
||||
uint32_t i;
|
||||
GET_FLOAT_WORD(i0,x);
|
||||
j0 = ((i0>>23)&0xff)-0x7f;
|
||||
if(j0<23) {
|
||||
|
Loading…
Reference in New Issue
Block a user