Neg

trait Neg[a: Type]Source

A trait for negation.

Signatures

def neg(x: a): a with Neg[a] Source

Returns -x.