Problem with upper/lowerLimits

If I try to set, let's say a lower limit of 300 degrees and I need the upper limit to spread 90 degrees in front of that, 300 plus 90 is 390. So do I set the upper limit as 390, or subtract 360 and set it to 30 degrees? Obviously what I want to avoid is causing the range to be inverted. What is the acceptable range of values to use for setting upper & lower limits of a revolute joint? Are negative values okay?

P.S. Yes, I know, these settings are in radians not degrees--just easier to talk in terms of degrees. 😉


[EDIT]
Hmmm, answered my own question easily enough: All values positive or negative are fine, as long as the lowerLimit is less than the upperLimit. The angle of a joint, however, seems to want to spin around from 360 to 0 for example, as if they're different angles.

Original thread: https://box2d.org/forum/viewtopic.php?t=4297