To save the time of anyone who might see my last posting for the first
time on Monday morning, the problem has been solved - it was simply
that I was not using high enough precision.
Thankyou very much to everyone who wrote to me - it's saved me a lot of
time. I suppose I should have realised that adding a small number to a
large number could cause precision problems - I briefly considered
whether the large number might be too big - which obviously was not -
but did not consider the relative sizes of the two numbers. It could
have taken ages for the penny to drop without your help.
thanks again
Andrew
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|