That's why the value will be between -1.5 to 1.5 which is equivalent to a value of -90 to 90 degrees of azimuth.
Why the confusion over whether the value should be negative or positive? The short answer is it all depends on whether the programmer used a north facing or south facing reference in their solar azimuth function. In this case experimentation seems to reveal they used a north facing reference, so values in the northern hemisphere will be negative. They also appear to reference the zenith as 0 radians and the horizon as 1.5 radians.
Using the numbers from my Chicago example above:
summerAzimuthAngle = (-90+71.6)π/180 = -.32
winterAzimuthAngle = (-90+24.7)π/180 = -1.14



