1. A microcontroller adapted to carry out computations for regulation or control of a vehicle, the microcontroller comprising: a computing unit that includes a processor; and a configurable logic circuit that is connected to the computing unit, includes a hardware arrangement that is hard-wired to compute an exponential function, and is configured to provide a result of the computation to the computing unit, wherein the processor of the computing unit executes software to perform the computations for the regulation and control based on the result from the logic circuit.