float.h (128019) | float.h (128629) |
---|---|
1/* $FreeBSD: head/sys/ia64/include/float.h 128019 2004-04-07 20:46:16Z imp $ */ | 1/* $FreeBSD: head/sys/ia64/include/float.h 128629 2004-04-25 02:36:29Z 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 --- 22 unchanged lines hidden (view full) --- 32 33#ifndef _MACHINE_FLOAT_H_ 34#define _MACHINE_FLOAT_H_ 35 36#include <sys/cdefs.h> 37 38#define FLT_RADIX 2 /* b */ 39#define FLT_ROUNDS 1 /* FP addition rounds to nearest */ | 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 --- 22 unchanged lines hidden (view full) --- 32 33#ifndef _MACHINE_FLOAT_H_ 34#define _MACHINE_FLOAT_H_ 35 36#include <sys/cdefs.h> 37 38#define FLT_RADIX 2 /* b */ 39#define FLT_ROUNDS 1 /* FP addition rounds to nearest */ |
40#if __ISO_C_VISIBLE >= 1999 |
|
40#define FLT_EVAL_METHOD 0 /* no promotions */ 41#define DECIMAL_DIG 35 /* max precision in decimal digits */ | 41#define FLT_EVAL_METHOD 0 /* no promotions */ 42#define DECIMAL_DIG 35 /* max precision in decimal digits */ |
43#endif |
|
42 43#define FLT_MANT_DIG 24 /* p */ 44#define FLT_EPSILON 1.19209290E-07F /* b**(1-p) */ 45#define FLT_DIG 6 /* floor((p-1)*log10(b))+(b == 10) */ 46#define FLT_MIN_EXP -125 /* emin */ 47#define FLT_MIN 1.17549435E-38F /* b**(emin-1) */ 48#define FLT_MIN_10_EXP -37 /* ceil(log10(b**(emin-1))) */ 49#define FLT_MAX_EXP 128 /* emax */ --- 24 unchanged lines hidden --- | 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) */ 48#define FLT_MIN_EXP -125 /* emin */ 49#define FLT_MIN 1.17549435E-38F /* b**(emin-1) */ 50#define FLT_MIN_10_EXP -37 /* ceil(log10(b**(emin-1))) */ 51#define FLT_MAX_EXP 128 /* emax */ --- 24 unchanged lines hidden --- |