aboutsummaryrefslogtreecommitdiffstats
path: root/util/human/units.lua
Commit message (Collapse)AuthorAgeFilesLines
* compat: Remove handling of Lua 5.1 location of 'unpack' functionKim Alvefur2022-07-111-1/+1
|
* util: Remove various Lua 5.1 compatibility hacksKim Alvefur2022-07-021-8/+0
| | | | Part of #1600
* util.human.units: Factor out function for getting multiplierKim Alvefur2020-06-041-9/+15
|
* util.human.units: Handle lack of math.log(n, base) on Lua 5.1Kim Alvefur2020-06-031-0/+8
|
* util.human.units: Put math functions into localsKim Alvefur2020-06-031-3/+9
| | | | | Primarily because the next commit will deal with math.log behaving differently on Lua 5.1 and that's eaiser with locals.
* util.human.units: Handle location of unpack() in Lua 5.1Kim Alvefur2020-06-031-1/+3
|
* util.human.units: A library for formatting numbers with SI unitsKim Alvefur2019-01-041-0/+58