  We compute numerically the distribution of energies W(E,N) for the XY-model
with short-range and long-range interactions. We find that in both cases the
distribution can be fitted to the functional form: W(E,N) ~ exp(N f(E,N)), with
f(E,N) an intensive function of the energy.
