L^infinity energies on discontinuous functions