Microcanonical relation between continuous and discrete spin models.