Hi,
I tried it here as well and they both seem to do the same thing... I tried with W1 less than A, bigger than B and within the range, both routines responded in the same way, what are you getting?