This was tested with a recompiled version of Minecraft 1.8 using MCP. However I cannot test it that easily in newer versions.
The client does not set the yaw rotation to the valid -180 to 180 angle when the player continues to rotate.
Normally you would not notice that because the debug screen disguises it by doing this. However when you remove this part of the code you will see that the yaw increases to infinity when you rotate. This could in theory cause problems as with high numbers Minecraft has strange movement and rendering bugs.
The reason for this is that in the public void setAngles(float yaw, float pitch) method of the net.minecraft.entity.Entity class (MCP 1.8 names) just sets the rotation values without testing if they are between -180 and 180.
This fix has however problems when rotating from -180 to 180 it looks like it jumps for two pixels and the player arm is rotating 360°.