waveform: Simplify floating-point expression.
Merge pull request #3 from mewpull/master

waveform: Simplify floating-point expression.