Message-ID: <001d01be81d8$802ceee0$8a033bd4@default> From: "Laurynas Biveinis" To: Subject: Patches for and for C9X standard compatibility Date: Thu, 8 Apr 1999 17:56:14 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-4" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Reply-To: djgpp-workers AT delorie DOT com The changes are very small: In is new #define EILSEQ In is new #define FLT_EVAL_METHOD For EILSEQ I took first available number 39 I am not sure what value should be defined for FLT_EVAL_METHOD. Posibilities are: -1 indeterminable; 0 evaluate all operations and constants just to the range and precision of the type; 1 evaluate operations and constants of type float and double to the range and precision of the double type, evaluate long double operations and constants to the range and precision of the long double type; 2 evaluate all operations and constants to the range and precision of the long double type. Any other negative number - implementation specific behavior. Since I don't know, I defined it as (-1). Who knows better, please correct. I made diff's using djdev's 2.02 header files. If these diff's are not applicable for fixed/new/etc headers which will be released in 2.03, please let me know, where can I get the newest versions. Laurynas Biveinis *** errno.h Sun Jun 28 23:33:58 1998 --- errno2.h Thu Apr 8 17:42:14 1999 *************** *** 11,16 **** --- 11,17 ---- #define EDOM 1 #define ERANGE 2 + #define EILSEQ 39 extern int errno; *** float.h Wed Aug 23 02:02:58 1995 --- float2.h Thu Apr 8 17:34:36 1999 *************** *** 12,17 **** --- 12,18 ---- #define FLT_DIG 6 #define FLT_EPSILON __dj_float_epsilon + #define FLT_EVAL_METHOD (-1) #define FLT_MANT_DIG 24 #define FLT_MAX __dj_float_max #define FLT_MAX_10_EXP 38