Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

fpValue

Builder.fpValue
pub fn fpValue(self: *Builder, ty: Type, comptime value: comptime_float) Allocator.Error!Value

File

lib/std/zig/llvm/Builder.zig:9375

Code

pub fn fpValue(self: *Builder, ty: Type, comptime value: comptime_float) Allocator.Error!Value {
    return (try self.fpConst(ty, value)).toValue();
}