Function isNegative [src]

Return true if a field element is negative

Prototype

pub inline fn isNegative(a: Fe) bool

Parameters

a: Fe

Source

pub inline fn isNegative(a: Fe) bool { return (a.toBytes()[0] & 1) != 0; }