From d308f4a3c201718a1f41a4566a107277015a33ab Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 10 Aug 1988 22:33:48 +0000 Subject: [PATCH] fix: the minimum exponent is 1, not 0! --- mach/proto/fp/FP_bias.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mach/proto/fp/FP_bias.h b/mach/proto/fp/FP_bias.h index 65045cdab..fae2987ef 100644 --- a/mach/proto/fp/FP_bias.h +++ b/mach/proto/fp/FP_bias.h @@ -22,9 +22,9 @@ /* 1) FOR THE DIFFERENT FORMATS */ #define SGL_MAX 255 /* standard definition */ -#define SGL_MIN 0 /* standard definition */ +#define SGL_MIN 1 /* standard definition */ #define DBL_MAX 2047 /* standard definition */ -#define DBL_MIN 0 /* standard definition */ +#define DBL_MIN 1 /* standard definition */ #define EXT_MAX 16384 /* standard minimum */ #define EXT_MIN -16383 /* standard minimum */ #else @@ -41,9 +41,9 @@ /* 1) FOR THE DIFFERENT FORMATS */ #define SGL_MAX 255 /* standard definition */ -#define SGL_MIN 0 /* standard definition */ +#define SGL_MIN 1 /* standard definition */ #define DBL_MAX 255 /* standard definition */ -#define DBL_MIN 0 /* standard definition */ +#define DBL_MIN 1 /* standard definition */ #define EXT_MAX 16384 /* standard minimum */ #define EXT_MIN -16383 /* standard minimum */ #endif -- 2.34.1