The Absolute Value Amplifier circuit based operational amplifier chip 5535. This circuit can provide a positive output voltage for both polarity of input. For positive signals, it acts as a non-inverting amplifier for negative signals, as an inverting amplifier.
The accuracy is poor for input voltages under 1 V, however for less stringent applications, it can be and effective.