enum Round [src]

Fields

nearest_evenRound to the nearest representable value, with ties broken by the representation that ends with a 0 bit.
awayRound away from zero.
truncRound towards zero.
floorRound towards negative infinity.
ceilRound towards positive infinity.

Source

pub const Round = enum { /// Round to the nearest representable value, with ties broken by the representation /// that ends with a 0 bit. nearest_even, /// Round away from zero. away, /// Round towards zero. trunc, /// Round towards negative infinity. floor, /// Round towards positive infinity. ceil, }