aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/draw.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-04-16 14:14:09 +0000
committerdos-reis <gdr@axiomatics.org>2009-04-16 14:14:09 +0000
commit6ad3412bc13d3ae7a5f7f68260a90ae1bd536e03 (patch)
tree0a10a69312041e038b82a49fb87018deea7c2a5b /src/algebra/draw.spad.pamphlet
parente7e3cddc7d075a5c2ed67b24fcb885329ad1eb3b (diff)
downloadopen-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/draw.spad.pamphlet')
-rw-r--r--src/algebra/draw.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/draw.spad.pamphlet b/src/algebra/draw.spad.pamphlet
index de5dc3e3..52f12b71 100644
--- a/src/algebra/draw.spad.pamphlet
+++ b/src/algebra/draw.spad.pamphlet
@@ -318,9 +318,9 @@ TopLevelDrawFunctionsForCompiledFunctions():
myTrap1: (SF-> SF, SF) -> SF
myTrap1(ff:SF-> SF, f:SF):SF ==
s := trapNumericErrors(ff(f))$Lisp :: Union(SF, "failed")
- s case "failed" => _$NaNvalue$Lisp
+ s case "failed" => quietDoubleNaN()$Lisp
r:=s::SF
- r >max()$SF or r < min()$SF => _$NaNvalue$Lisp
+ r >max()$SF or r < min()$SF => quietDoubleNaN()$Lisp
r
makePt2: (SF,SF) -> Point SF
@@ -493,9 +493,9 @@ TopLevelDrawFunctionsForCompiledFunctions():
myTrap2: ((SF, SF) -> SF, SF, SF) -> SF
myTrap2(ff:(SF, SF) -> SF, u:SF, v:SF):SF ==
s := trapNumericErrors(ff(u, v))$Lisp :: Union(SF, "failed")
- s case "failed" => _$NaNvalue$Lisp
+ s case "failed" => quietDoubleNaN()$Lisp
r:SF := s::SF
- r >max()$SF or r < min()$SF => _$NaNvalue$Lisp
+ r >max()$SF or r < min()$SF => quietDoubleNaN()$Lisp
r
recolor(ptFunc,colFunc) ==