a switching regulator has an input terminal for receiving an input voltage , an output terminal for outputting an output voltage , a coil connected between the input terminal and the output terminal , and a slope correcting circuit for outputting a signal adapted to carry out slope correction for preventing current oscillation . an error amplifier compares one of the output voltage and a voltage division value of the output voltage with a reference voltage to output a signal , and a switch controls the output voltage with a signal generated using results obtained by arithmetically operating the output signal of the slope correcting circuit and the output signal of the error amplifier . the slope correcting circuit outputs a signal obtained by adjusting the signal adapted to carry out the slope correction in correspondence to the output voltage .