aboutsummaryrefslogtreecommitdiffstats
path: root/util/human/units.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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