www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/20:09:31

Date: Thu, 1 Oct 1998 21:13:29 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Goh Yong Kwang <s6606555 AT mercury DOT np DOT ac DOT sg>
cc: djgpp AT delorie DOT com
Subject: Re: Need for Math library
In-Reply-To: <Pine.SOL.3.91.980929155546.14291A-100000@mercury>
Message-ID: <Pine.SUN.3.91.981001211312.18395N-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019