X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fflame.c;fp=hacks%2Fflame.c;h=9f13c87bafe93beac020afcec0876306688d88bc;hp=a641367f8c1ccb254cdf0868d083578c0407056a;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/hacks/flame.c b/hacks/flame.c index a641367f..9f13c87b 100644 --- a/hacks/flame.c +++ b/hacks/flame.c @@ -204,7 +204,7 @@ recurse (struct state *st, double x, double y, int l, Display *dpy, Window win) "I think this happens on HPUX. I think it's non-IEEE to generate an exception instead of a silent NaN." */ - if ((abs(x) > 1.0E5) || (abs(y) > 1.0E5)) + if ((fabs(x) > 1.0E5) || (fabs(y) > 1.0E5)) x = x / y; nx = st->f[0][0][i] * x + st->f[0][1][i] * y + st->f[0][2][i];