FWIW: I have seen that a=1; b=0 f(x)=a*(x)+b tempt to fail so every now and then. However if b <> 0 then all works just fine. -- Ton 't Lam