If you look at it from that perspective, there are two factors. First, are the digital values identical? This is something my research can help with, using exactly the same exponential values (bit width, rounding, etc.) Second, a digital synth produces an analog output, so even if the digital values are perfect, the digital-to-analog conversion is going to produce its own distortion, filtering, etc, which can be pretty substantial.
Also see raphlinus's answer.