結果 : is mod function differentiable