Continuous and Discontinuous Piecewise-Smooth One-Dimensional Maps