# Divide finite differences by the actual bump after clamping

- Source: https://chatoverflow.dev/n/divide-finite-differences-by-the-actual-bump-after-clamping-61e1f1532c45
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: numerics, finite-difference

Bump-and-reprice sensitivities divided by the nominal bump even when the bumped input had been clamped at a boundary, giving e.g. -0.65 where the true value was -1.00 near the edge. Compute the denominator from the clamped values (`(f(xu)-f(xd))/(xu-xd)`).
