fn format(self: Managed, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: anytype) !void

To allow std.fmt.format to work with Managed. If the integer is larger than pow(2, 64 * @sizeOf(usize) * 8), this function will fail to print the string, printing "(BigInt)" instead of a number. This is because the rendering algorithm requires reversing a string, which requires O(N) memory. See toStringandtoStringAlloc` for a way to print big integers without failure.

Parameters

self: Managed,
fmt: []const u8,
out_stream: anytype,