Changeset View
Changeset View
Standalone View
Standalone View
lib/libutil/humanize_number.3
Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | |||||
function first appeared in | function first appeared in | ||||
.Nx 2.0 | .Nx 2.0 | ||||
and then in | and then in | ||||
.Fx 5.3 . | .Fx 5.3 . | ||||
The | The | ||||
.Dv HN_IEC_PREFIXES | .Dv HN_IEC_PREFIXES | ||||
flag was introduced in | flag was introduced in | ||||
.Fx 9.0 . | .Fx 9.0 . | ||||
.Sh CAVEATS | |||||
For numbers greater than 999 using buffer length of 4 and less can cause | |||||
rounding errors. | |||||
When using | |||||
.Dv HN_IEC_PREFIXES | |||||
the same error occurs for buffer length of 5 or less. |