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 standard library. Private Function
hypotFused
Private Function
std.math.hypot.hypotFused
inlinefnhypotFused(comptimeF: type, x: F, y: F) F
Params
F: type
x: F
y: F
File
math/hypot.zig:63
63646566676869
inlinefnhypotFused(comptimeF: type, x: F, y: F) F {
constr = @sqrt(@mulAdd(F, x, x, y * y));
constrr = r * r;
constxx = x * x;
constz = @mulAdd(F, -y, y, rr - xx) + @mulAdd(F, r, r, -rr) - @mulAdd(F, x, x, -xx);
returnr - z / (2 * r);
}