Date: Tue, 22 May 2001 17:55:37 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Scott Sinclair Message-Id: <9003-Tue22May2001175537+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (message from Scott Sinclair on Tue, 22 May 2001 14:10:32 +0200) Subject: Re: exp() doesn't work ! References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Scott Sinclair > Date: Tue, 22 May 2001 14:10:32 +0200 > > ////////////////////////////// > double x, y; > > y = some_sensibly_small_number; > > x = exp(y); > ///////////////////////////// > > does NOT set x equal to e^y ???? I am using the libraries suplied with DJGPP > version 2.03. > Unfortunately I can't follow the assembler code in the exp.s source file (is > this assembler ?), so I can't fix the error and rebuild my libraries. Please give specific examples, including the arguments, expected results and what exp returned. In general, exp works, it has been extensively tested. It is probably some bug in your program.