lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


From the 5.3 reference manual, section 6.4.2 on alignment of format strings for pack/unpack: "Alignment works as follows: For each option, the format gets extra padding until the data starts at an offset that is a multiple of the minimum between the option size and the maximum alignment; this minimum must be a power of 2.” (my italics)

If I understand this correctly, I think it would be clearer to say “of” instead of “between”: “… multiple of the minimum of the option size and the maximum alignment; this minimum must be a power of 2”.

—Tim