Date: Mon, 3 Nov 1997 10:26:19 +0200 (IST) From: Eli Zaretskii To: Mr Kevin Yeung cc: djgpp AT delorie DOT com Subject: Re: DJGPP failed library tests? In-Reply-To: <63hrdf$mpt$1@tst.hk.super.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 2 Nov 1997, Mr Kevin Yeung wrote: > Try this: sqrt(-1.0); > errno won't get set to EDOM. sqrt(-1) crashes the program with SIGFPE (floating-point exception). Doesn't it for you? If it does, how did you expect to see errno? if it doesn't crash, please post your test program (hope it's not too long). > assert(fabs(0.02 - 0.02) / 0.02 < 4 * LDBL_EPSILON); > will fail. It doesn't fail for me. Again, post the test program you used. Do you at all use DJGPP v2.01?