func abs(v {{_input_:type}}) {{_input_:type}} { if v < 0 { return -v } return v }