enumstd.zig.llvm.Builder.FastMathKind[src]

Fields

normal
fast

Functions

FunctiontoCallKind[src]

pub fn toCallKind(self: FastMathKind) Function.Instruction.Call.Kind

Parameters

Source Code

Source code
pub fn toCallKind(self: FastMathKind) Function.Instruction.Call.Kind {
    return switch (self) {
        .normal => .normal,
        .fast => .fast,
    };
}

Source Code

Source code
pub const FastMathKind = enum {
    normal,
    fast,

    pub fn toCallKind(self: FastMathKind) Function.Instruction.Call.Kind {
        return switch (self) {
            .normal => .normal,
            .fast => .fast,
        };
    }
}