For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
RoundMode
struct RoundMode
Fieldsβ
- βvalue (
Int):
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDeletable,
Movable
comptime membersβ
Ceilβ
comptime Ceil = RoundMode(Int(3))
Floorβ
comptime Floor = RoundMode(Int(2))
HalfDownβ
comptime HalfDown = RoundMode(Int(0))
HalfUpβ
comptime HalfUp = RoundMode(Int(1))
Methodsβ
__init__β
def __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!