Skip to main content

Mojo struct

FastMathFlag

@register_passable struct FastMathFlag

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, Movable, UnknownDestructibility

Aliases

__copyinit__is_trivial

alias __copyinit__is_trivial = UInt8.__copyinit__is_trivial

__del__is_trivial

alias __del__is_trivial = UInt8.__del__is_trivial

__moveinit__is_trivial

alias __moveinit__is_trivial = UInt8.__moveinit__is_trivial

AFN

alias AFN = FastMathFlag(6)

ARCP

alias ARCP = FastMathFlag(4)

CONTRACT

alias CONTRACT = FastMathFlag(5)

FAST

alias FAST = FastMathFlag(8)

NINF

alias NINF = FastMathFlag(2)

NNAN

alias NNAN = FastMathFlag(1)

NONE

alias NONE = FastMathFlag(0)

NSZ

alias NSZ = FastMathFlag(3)

REASSOC

alias REASSOC = FastMathFlag(7)

Methods

__is__

__is__(self, other: Self) -> Bool

Returns:

Bool

Was this page helpful?