Add missing math.h include

Fix RCSIDs
This commit is contained in:
christos 1997-07-13 18:38:28 +00:00
parent 35a5d59f7d
commit 35abd9e88d
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,5 @@
/* $NetBSD: isinf.c,v 1.3 1997/07/13 18:38:28 christos Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
@ -31,12 +33,17 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
/*static char sccsid[] = "from: @(#)isinf.c 5.1 (Berkeley) 3/18/91";*/
static char rcsid[] = "$Id: isinf.c,v 1.2 1996/02/05 04:30:51 jtc Exp $";
#if 0
static char sccsid[] = "@(#)isinf.c 5.1 (Berkeley) 3/18/91";
#else
__RCSID("$NetBSD: isinf.c,v 1.3 1997/07/13 18:38:28 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <math.h>
int
isnan(d)

View File

@ -1,3 +1,5 @@
/* $NetBSD: ldexp.c,v 1.4 1997/07/13 18:38:58 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@ -34,11 +36,17 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
/*static char sccsid[] = "from: @(#)ldexp.c 5.1 (Berkeley) 4/23/90";*/
static char rcsid[] = "$Id: ldexp.c,v 1.3 1996/12/20 20:35:48 cgd Exp $";
#if 0
static char sccsid[] = "@(#)ldexp.c 5.1 (Berkeley) 4/23/90";
#else
__RCSID("$NetBSD: ldexp.c,v 1.4 1997/07/13 18:38:58 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
#include <math.h>
/*
* ldexp(value, exp): return value * (2 ** exp).
*/