diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /math/deboor/round.f | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/deboor/round.f')
-rw-r--r-- | math/deboor/round.f | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/math/deboor/round.f b/math/deboor/round.f new file mode 100644 index 00000000..df02c939 --- /dev/null +++ b/math/deboor/round.f @@ -0,0 +1,10 @@ + real function round ( x ) +c from * a practical guide to splines * by c. de boor +called in example 1 of chapter xiii + real x, flip,size + common /rount/ size + data flip /-1./ + flip = -flip + round = x + flip*size + return + end |