#include <sys/cdefs.h>.

Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
This commit is contained in:
jtc 1995-06-20 20:32:22 +00:00
parent 3176641085
commit 1d65cdd4ab
7 changed files with 43 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.2 1995/04/29 05:45:44 cgd Exp $ */
/* $NetBSD: float.h,v 1.3 1995/06/20 20:32:22 jtc Exp $ */
/*
* Copyright (c) 1989, 1993
@ -33,10 +33,15 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()
#define FLT_MANT_DIG 24 /* p */
#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.6 1995/04/07 15:00:54 jtc Exp $ */
/* $NetBSD: float.h,v 1.7 1995/06/20 20:32:35 jtc Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
@ -35,7 +35,12 @@
* @(#)float.h 7.1 (Berkeley) 5/8/90
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.8 1995/04/07 00:44:37 jtc Exp $ */
/* $NetBSD: float.h,v 1.9 1995/06/20 20:32:39 jtc Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
@ -37,7 +37,12 @@
#ifndef _M68K_FLOAT_H_
#define _M68K_FLOAT_H_
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.5 1995/04/11 18:18:35 jtc Exp $ */
/* $NetBSD: float.h,v 1.6 1995/06/20 20:32:48 jtc Exp $ */
/*
* Copyright (c) 1989, 1993
@ -35,7 +35,12 @@
* @(#)float.h 8.1 (Berkeley) 6/10/93
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.5 1995/04/28 21:58:57 jtc Exp $ */
/* $NetBSD: float.h,v 1.6 1995/06/20 20:32:44 jtc Exp $ */
/*
* Copyright (c) 1989 Regents of the University of California.
@ -35,7 +35,12 @@
* @(#)float.h 7.1 (Berkeley) 5/8/90
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.5 1995/04/11 18:18:35 jtc Exp $ */
/* $NetBSD: float.h,v 1.6 1995/06/20 20:32:48 jtc Exp $ */
/*
* Copyright (c) 1989, 1993
@ -35,7 +35,12 @@
* @(#)float.h 8.1 (Berkeley) 6/10/93
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()

View File

@ -1,4 +1,4 @@
/* $NetBSD: float.h,v 1.3 1995/04/10 21:11:42 jtc Exp $ */
/* $NetBSD: float.h,v 1.4 1995/06/20 20:32:53 jtc Exp $ */
/*
* Copyright (c) 1992, 1993
@ -44,7 +44,12 @@
* @(#)float.h 8.1 (Berkeley) 6/11/93
*/
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds();
__END_DECLS
#define FLT_RADIX 2 /* b */
#define FLT_ROUNDS __flt_rounds()