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. Public Function
Write a FloatDecimal to a buffer in scientific form.
The buffer provided must be greater than min_buffer_size in length. If no precision is specified, this function will never return an error. If a precision is specified, up to 8 + precision bytes will be written to the buffer. An error will be returned if the content will not fit.
It is recommended to bound decimal formatting with an exact precision.
Write a FloatDecimal to a buffer in scientific form.
The buffer provided must be greater than
min_buffer_sizein length. If no precision is specified, this function will never return an error. If a precision is specified, up to8 + precisionbytes will be written to the buffer. An error will be returned if the content will not fit.It is recommended to bound decimal formatting with an exact precision.