« GLSL Language Specification, Version 4.50.7 » : « If both operands are non-negative, then the remainder is non-negative. Results are undefined if one or both operands are negative. », section 5.9 Expressions
« Operators », Microsoft (consulté le ) : « The % operator is defined only in cases where either both sides are positive or both sides are negative. Unlike C, it also operates on floating-point data types, as well as integers. »
(en-US) QuantumWriter, « Expressions », sur docs.microsoft.com (consulté le )