Are different formats mastered differently?

Vinyl’s mastered differently than CD, but what about different digital formats?