The L298 is designed for 12volt or 24volt supplies.
If you use the chip at those voltages, then the ~2.5volt loss in H-bridge mode is not a big problem.
But if you start using them in ~5volt projects, then that 2.5volt loss is significant.
Not a problem if you don't mind adding two batteries just to heat up the chip.
Leo..