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.
Zig
›
std/
›
fmt/
›
float.zig
›
cast_i32
cast_i32
float.cast_i32
fn
cast_i32
(
v
:
anytype
)
i32
File
lib/std/fmt/
float.zig
:
356
Code
fn
cast_i32
(
v
:
anytype
)
i32
{
return
@intCast
(
v
); }