Date: Thu, 1 Oct 1998 21:13:29 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Goh Yong Kwang cc: djgpp AT delorie DOT com Subject: Re: Need for Math library In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 29 Sep 1998, Goh Yong Kwang wrote: > I've been using DJGPP for about a year or so and I've not figured out > when the Math library is needed. It seems that DJGPP has no problem doing > floating point calculation without Math library but sometimes the Math > library is needed for some reasons unknown to me. Can anyone enlighten me > on when the Math library is required? It is required when you: - want to make sure errno is always set when some trouble happens inside math functions; or - need to call functions beyond those required by ANSI C (e.g., `erf' or `lgamma'); or - need more accurate versions of the ANSI math functions; or - need to use the matherr functionality to have full control on what happens when a math function bumps into trouble.