1. A microcontroller adapted to carry out computations for regulation or control of a vehicle, the microcontroller comprising: a computing unit; and a logic circuit, the computing unit being connected to the logic circuit, the logic circuit including an arrangement to compute an exponential function, wherein the logic circuit is configurable.