You may have the expression incorrect. The conditional says, if alp1 is less than or equal to -360 AND if alp1 is greater than or equal to 360. That conditional will always be false, so the fmod and assignment will never happen.
As doug4 says && is probably meant to be ||.
Given that alp1 is a double type fmod returns the remainder of alp1/360.
The rest converts degrees to radians... I think.