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