If I understand what you are asking:
// running total of degrees rotated
- float totalDegreesRotated = 1000;
// current rotation of object
- float currentYaw = startingYaw + (totalDegreesRotated % 360.0f);
If I understand what you are asking:
// running total of degrees rotated
// current rotation of object