-
Notifications
You must be signed in to change notification settings - Fork 2
/
luabcd-1.0-12.rockspec
32 lines (32 loc) · 1009 Bytes
/
luabcd-1.0-12.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package = "LuaBcd"
version = "1.0-12"
source = {
url = "git://github.com/patrickfrey/luabcd",
tag = "1.0-12"
}
description = {
summary = "BCD arithmetic for arbitrary large integers",
detailed = [[
Implements an ADT for arbitrary large integers with the arithmetic operators + - / * ^ and the
comparison operators == ~= <= < >= and >.
The numbers are internally represented as binary coded decimals (BCD) in blocks of 64 bit, each holding 16 decimal digits.
The implementation is based on "BCD Arithmetic, a tutorial" (http://homepage.divms.uiowa.edu/~jones/bcd/bcd.html)
by Douglas W. Jones from the University of Iowa.
]],
homepage = "https://github.com/patrickfrey/luabcd",
license = "MIT"
}
dependencies = {
"lua >= 5.1, <= 5.4"
}
build = {
type = "builtin",
modules = {
bcd = {
sources = {"src/bcd.cpp", "src/lualib_bcd.cpp"},
incdirs = {"src/"},
libraries = {"stdc++"},
}
},
copy_directories = { "tests" }
}