Mail Archives: djgpp/1998/10/16/12:05:08
On Fri, 16 Oct 1998, Guruman wrote:
> I am doing some programming that heavily utilizes floating-point math,
> using DJGPP. This code would benefit from having variables longer than the
> precision that 'double' offers. (some juicy chaos theory stuff). The problem
> is, I've reached the precision limit of my variables, and my plots look like
> enormous Atari 2600 pixels, even at 1024 x 768.
>
> Are there any add-on packages (or hacks) for DJGPP that provide
> extra-large precision functionality? I have seen products of this nature for
> other compilers, but wouldn't know where to begin modifying them to support
> DJGPP.
You can use long double which uses 10 bytes and not 8. Or there are
also arbitrary precision maths libraries. One I have heard about was used
in the Fractint fractal program (try looking at
http://spanky.triumf.ca/www/fractint/fractint.html)
David.
- Raw text -