A classic analog application is the full-wave precision rectifier (absolute value) function. Many variations exist on this theme, each with its own supposed (often rather minor and sometimes downright ...
And here it is, modelled using LTSpice. It is the same circuit as the classic simple precision rectifier (set to pass the negative half-sine), but with the non-inverting input of the op-amp connected ...