Function floatValue [src]
Prototype
pub fn floatValue(self: *Builder, ty: Type, value: f32) Allocator.Error!Value
Parameters
self: *Builder
ty: Type
value: f32
Source
pub fn floatValue(self: *Builder, ty: Type, value: f32) Allocator.Error!Value {
return (try self.floatConst(ty, value)).toValue();
}