summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-02 22:25:24 +0000
committerKarl Berry <karl@freefriends.org>2015-12-02 22:25:24 +0000
commit8a154ca7d78ee39d443c3f43d9cb86ff1d71b411 (patch)
treeaece0f86dda1a199e831661af24593dc4184b1e9 /Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
parentcd10cbba5784b911a3028369ffaa9e87e9a746aa (diff)
lualibs (2dec15)
git-svn-id: svn://tug.org/texlive/trunk@38998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua b/Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
index 43f60b56bee..ec62919b46a 100644
--- a/Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
+++ b/Master/texmf-dist/tex/luatex/lualibs/lualibs-math.lua
@@ -8,6 +8,10 @@ if not modules then modules = { } end modules ['l-math'] = {
local floor, sin, cos, tan = math.floor, math.sin, math.cos, math.tan
+if not math.ceiling then
+ math.ceiling = math.ceil
+end
+
if not math.round then
function math.round(x) return floor(x + 0.5) end
end