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
calcLimbLen
Public Function
std.math.big.int.calcLimbLen
pubfncalcLimbLen(scalar: anytype) usize
Returns the number of limbs needed to store scalar, which must be a primitive integer or float value. Note: A comptime-known upper bound of this value that may be used instead if scalar is not already comptime-known is calcTwosCompLimbCount(@typeInfo(@TypeOf(scalar)).int.bits)
Returns the number of limbs needed to store
scalar, which must be a primitive integer or float value. Note: A comptime-known upper bound of this value that may be used instead ifscalaris not already comptime-known iscalcTwosCompLimbCount(@typeInfo(@TypeOf(scalar)).int.bits)