We compute numerically the distribution of energies $Omega(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: $Omega(E,N)sim exp(N phi(E,N))$, with $phi(E,N)$ an intensive function of the energy.
Postcript version