When only one operand is negative, the sign and value of the result for the modulus operator can follow either the sign of the numerator or of the denominator.

 
  • 当只有一个操作数为负数时,求模操作结果值的符号可依据分子(被除数)或分母(除数)的符号而定。
今日热词
目录 附录 查词历史