diff options
author | dos-reis <gdr@axiomatics.org> | 2009-04-16 14:14:09 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-04-16 14:14:09 +0000 |
commit | 6ad3412bc13d3ae7a5f7f68260a90ae1bd536e03 (patch) | |
tree | 0a10a69312041e038b82a49fb87018deea7c2a5b /src/algebra/plot3d.spad.pamphlet | |
parent | e7e3cddc7d075a5c2ed67b24fcb885329ad1eb3b (diff) | |
download | open-axiom-6ad3412bc13d3ae7a5f7f68260a90ae1bd536e03.tar.gz |
Fix SF/2763053
* interp/sys-os.boot ($NaNvalue): Remove.
(quietDoubleNaN): Import.
* include/cfuns.h (quiet_double_NaN): Rename from NANQ.
* lib/cfuns-c.c (quiet_double_NaN): Likewise.
* algebra/draw.spad.pamphlet: Replace $NaNvalue with quietDoubleNaN.
* algebra/plot.spad.pamphlet: Likewise.
* algebra/plot3d.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/plot3d.spad.pamphlet')
-rw-r--r-- | src/algebra/plot3d.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/plot3d.spad.pamphlet b/src/algebra/plot3d.spad.pamphlet index faf926ad..658b3a32 100644 --- a/src/algebra/plot3d.spad.pamphlet +++ b/src/algebra/plot3d.spad.pamphlet @@ -192,11 +192,11 @@ Plot3D(): Exports == Implementation where select(l,f,g) == m := f first l - if (EQL(m, _$NaNvalue$Lisp)$Lisp) then m := 0 + if (EQL(m, quietDoubleNaN()$Lisp)$Lisp) then m := 0 -- for p in rest l repeat m := g(m,fp) for p in rest l repeat fp : F := f p - if (EQL(fp, _$NaNvalue$Lisp)$Lisp) then fp := 0 + if (EQL(fp, quietDoubleNaN()$Lisp)$Lisp) then fp := 0 m := g(m,fp) m @@ -447,7 +447,7 @@ Plot3D(): Exports == Implementation where myTrap(ff:F-> F, f:F):F == s := trapNumericErrors(ff(f))$Lisp :: Union(F, "failed") if (s) case "failed" then - r:F := _$NaNvalue$Lisp + r:F := quietDoubleNaN()$Lisp else r:F := s r |