Function negate [src]

Negate the sign of a Rational.

Prototype

pub fn negate(r: *Rational) void

Parameters

r: *Rational

Source

pub fn negate(r: *Rational) void { r.p.negate(); }