Mojo struct
RoundMode
struct RoundMode
Fieldsβ
- βvalue (
Int):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
comptime membersβ
Ceilβ
comptime Ceil = RoundMode(3)
Floorβ
comptime Floor = RoundMode(2)
HalfDownβ
comptime HalfDown = RoundMode(0)
HalfUpβ
comptime HalfUp = RoundMode(1)
Methodsβ
__init__β
__init__(out self, value: Int)
__eq__β
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!