floats will be floats

master
neingeist 12 years ago
parent b12b4ff429
commit 7dc7d474f8

@ -34,7 +34,7 @@ void drawmandelbrot(SDL_Surface *surface) {
z = cpowf(z, 2) + c; z = cpowf(z, 2) + c;
/* If |z| ever gets greater than 2, it diverges. */ /* If |z| ever gets greater than 2, it diverges. */
if (cabs(z) > 2) { if (cabsf(z) > 2) {
diverges = true; diverges = true;
break; break;
} }

Loading…
Cancel
Save