Mail Archives: djgpp/1998/10/08/20:09:31
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 -