Calculate the smallest difference of any two values from two non-decreasing arrays. Require that two input arrays to be non-empty and sorted. Ensure that the return value exists as one difference and is the smallest one.