diff options
Diffstat (limited to 'tex/context/base/mkiv/l-number.lua')
-rw-r--r-- | tex/context/base/mkiv/l-number.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/l-number.lua b/tex/context/base/mkiv/l-number.lua index a83e8f8f9..dc4a93b0e 100644 --- a/tex/context/base/mkiv/l-number.lua +++ b/tex/context/base/mkiv/l-number.lua @@ -232,3 +232,7 @@ function number.decimaltobyte(d) return b end end + +function number.idiv(i,d) + return floor(i/d) -- i//d in 5.3 +end |