diff options
author | dos-reis <gdr@axiomatics.org> | 2011-06-21 00:32:24 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-06-21 00:32:24 +0000 |
commit | b529872b2c3aeca9f9994b94c392383baea2c84a (patch) | |
tree | d69119cbfb471d49b926a555f9a68a6624df37ae /src/algebra/clip.spad.pamphlet | |
parent | e4656a0388e8fa12594788b216b42bb04680d9d5 (diff) | |
download | open-axiom-b529872b2c3aeca9f9994b94c392383baea2c84a.tar.gz |
* lisp/core.lisp.in (%fNaN?): New.
* interp/spaderror.lisp (trapNumericErrors): Handle
ARITHMETIC-ERROR too.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include %fNaN?.
* algebra/clip.spad.pamphlet (TwoDimensionalPlotClipping): Use it.
* algebra/plot.spad.pamphlet (Plot): Likewise.
Diffstat (limited to 'src/algebra/clip.spad.pamphlet')
-rw-r--r-- | src/algebra/clip.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/clip.spad.pamphlet b/src/algebra/clip.spad.pamphlet index d4eaf937..6be59d84 100644 --- a/src/algebra/clip.spad.pamphlet +++ b/src/algebra/clip.spad.pamphlet @@ -89,10 +89,10 @@ TwoDimensionalPlotClipping(): Exports == Implementation where norm: Pt -> SF iClipParametric: (L L Pt,RN,RN) -> CLIPPED findPt: L L Pt -> Union(Pt,"failed") - Fnan?: SF ->Boolean Pnan?:Pt ->Boolean - Fnan? x == x~=x + Fnan?(x: SF): Boolean == %fNaN?(x)$Foreign(Builtin) + Pnan? p == any?(Fnan?,p) iClipParametric(pointLists,fraction,scale) == |