waveform: Simplify floating-point expression.