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