From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- math/deboor/round.f | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 math/deboor/round.f (limited to 'math/deboor/round.f') 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 -- cgit