Exact finite-difference methods based on nonlinear means