Function halfConst [src]

Prototype

pub fn halfConst(self: *Builder, val: f16) Allocator.Error!Constant

Parameters

self: *Builderval: f16

Source

pub fn halfConst(self: *Builder, val: f16) Allocator.Error!Constant { try self.ensureUnusedConstantCapacity(1, NoExtra, 0); return self.halfConstAssumeCapacity(val); }