Mail Archives: djgpp/1995/05/31/02:45:37
> 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.
> The code for the function is fairly simple. It involves a few
> multiplications and divisions, and one call to exp(). There are no
> iterative loops to build up roundoff errors. And even if there were,
> I wouldn't expect it to be this severe.
Why not post the code? It's usually very hard (at least for some of us)
to second-guess a code without seeing it.
- Raw text -