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.

__log10x

log10.__log10x
pub fn __log10x(a: f80) callconv(.c) f80

File

lib/compiler_rt/log10.zig:168

Code

pub fn __log10x(a: f80) callconv(.c) f80 {
    // TODO: more efficient implementation
    return @floatCast(log10q(a));
}