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/plot.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/plot.spad.pamphlet')
-rw-r--r-- | src/algebra/plot.spad.pamphlet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/plot.spad.pamphlet b/src/algebra/plot.spad.pamphlet index 5b5eefd3..0ab68ee1 100644 --- a/src/algebra/plot.spad.pamphlet +++ b/src/algebra/plot.spad.pamphlet @@ -284,7 +284,7 @@ Plot(): Exports == Implementation where xDiff = 0 or yDiff = 0 => curve l := lo tRange; h := hi tRange (tDiff := h-l) = 0 => curve --- if (EQL(yDiff, _$NaNvalue$Lisp)$Lisp) then yDiff := 1::F +-- if (EQL(yDiff, quietDoubleNaN()$Lisp)$Lisp) then yDiff := 1::F t := curve.knots #t < 3 => curve p := curve.points; f := curve.source @@ -477,9 +477,9 @@ Plot(): Exports == Implementation where myTrap: (F-> F, F) -> F myTrap(ff:F-> F, f:F):F == s := trapNumericErrors(ff(f))$Lisp :: Union(F, "failed") - s case "failed" => _$NaNvalue$Lisp + s case "failed" => quietDoubleNaN()$Lisp r:F:=s::F - r > max()$F or r < min()$F => _$NaNvalue$Lisp + r > max()$F or r < min()$F => quietDoubleNaN()$Lisp r plot(f:F -> F,xRange:R) == |