They calculated that the gamma ray energy was equal to the original mass by using the E=mc^2 equation. The problem is, that depending on the distance unit you use, you can arrive at any numeric value for the speed of light you want.