junk testing for piecewise curve round.
Fix warnings on LLVM