projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.31.tar.gz
[xscreensaver]
/
hacks
/
flame.c
diff --git
a/hacks/flame.c
b/hacks/flame.c
index a641367f8c1ccb254cdf0868d083578c0407056a..9f13c87bafe93beac020afcec0876306688d88bc 100644
(file)
--- 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."
*/
"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) || (f
abs(y) > 1.0E5))
x = x / y;
nx = st->f[0][0][i] * x + st->f[0][1][i] * y + st->f[0][2][i];
x = x / y;
nx = st->f[0][0][i] * x + st->f[0][1][i] * y + st->f[0][2][i];