Function halfValue [src]
Prototype
pub fn halfValue(self: *Builder, ty: Type, value: f16) Allocator.Error!Value Parameters
self: *Builderty: Typevalue: f16 Source
pub fn halfValue(self: *Builder, ty: Type, value: f16) Allocator.Error!Value {
return (try self.halfConst(ty, value)).toValue();
}