Double precision math

edited November 2014 in How To...

I'm working on a Mandelbrot set zoom program. For "regular" images, unzoomed, floating point precision is sufficient. However, once zoomed in a lot, it's no longer enough.

I need to be able to use double precision arithmetic, but Processing's functions like log, etc. are only single precision. Is there a way to have it use Java's double precision functions?

Thanks!

Tagged:
Sign In or Register to comment.