Deleted Added
full compact
float.h (128629) float.h (132383)
1/* $FreeBSD: head/sys/ia64/include/float.h 128629 2004-04-25 02:36:29Z das $ */
1/* $FreeBSD: head/sys/ia64/include/float.h 132383 2004-07-19 08:17:25Z das $ */
2/* From: NetBSD: float.h,v 1.6 1997/07/17 21:36:03 thorpej Exp */
3
4/*
5 * Copyright (c) 1989, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 20 unchanged lines hidden (view full) ---

30 * SUCH DAMAGE.
31 */
32
33#ifndef _MACHINE_FLOAT_H_
34#define _MACHINE_FLOAT_H_
35
36#include <sys/cdefs.h>
37
2/* From: NetBSD: float.h,v 1.6 1997/07/17 21:36:03 thorpej Exp */
3
4/*
5 * Copyright (c) 1989, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 20 unchanged lines hidden (view full) ---

30 * SUCH DAMAGE.
31 */
32
33#ifndef _MACHINE_FLOAT_H_
34#define _MACHINE_FLOAT_H_
35
36#include <sys/cdefs.h>
37
38__BEGIN_DECLS
39extern int __flt_rounds(void);
40__END_DECLS
41
38#define FLT_RADIX 2 /* b */
42#define FLT_RADIX 2 /* b */
39#define FLT_ROUNDS 1 /* FP addition rounds to nearest */
43#define FLT_ROUNDS __flt_rounds()
40#if __ISO_C_VISIBLE >= 1999
41#define FLT_EVAL_METHOD 0 /* no promotions */
42#define DECIMAL_DIG 35 /* max precision in decimal digits */
43#endif
44
45#define FLT_MANT_DIG 24 /* p */
46#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
47#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */

--- 28 unchanged lines hidden ---
44#if __ISO_C_VISIBLE >= 1999
45#define FLT_EVAL_METHOD 0 /* no promotions */
46#define DECIMAL_DIG 35 /* max precision in decimal digits */
47#endif
48
49#define FLT_MANT_DIG 24 /* p */
50#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */
51#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */

--- 28 unchanged lines hidden ---