Mail Archives: djgpp/1995/05/30/21:22:43
On Tue, 30 May 1995, Larry Estep wrote:
>
>
> I have a piece of code that implements the gamma function. It works
> fine with Borland C, as well as with the C compiler on the HP Unix machine
> I use at work. But when compiled under djgpp, I seem to be getting some
> sort of rounding error.
> For instance, passing 5.0 to the function should result in a value
> of 120.0. Instead I get 118.401 from the djgpp version. This is just
> not acceptable.
You're not running this on a Pentium, by any chance, are you ;-)
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= Kent D. Lottis kentl AT bdc DOT cirrus DOT com =
= Cirrus Logic, Inc., Bellevue Design Center =
= =
= Located in Washington state, home of exploding =
= mountains, sinking bridges, the Mariners, uncountable =
= tons of spent nuclear fuel, and Bill Gates. =
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
- Raw text -