358359360361362363364365366367368
+"\n error: "+Math.abs(calculated-expected), Math.abs(calculated - expected) > tolerance); } // outside the original range f.enableExtrapolation(); { double p = x.get(0) - 0.5; double calculated = f.op(p); double expected = y.get(0);