This is lqd, a high-precision mathematical library for Lua providing
about 62 decimal digits. It is based on the qd library available at
	https://github.com/BL-highprecision/QD
See also
	https://www.davidhbailey.com/dhbsoftware/

To build the library and run a simple test, just do make.
If Lua is not installed in /usr/local, tell make:
	make LUA_TOPDIR=/var/tmp/lhf/lua-5.5.0/install

To install the library where Lua can find it, use a variant of these:
	make install
	sudo make install
	sudo make install LIBDIR=/usr/local/lib/lua/5.5

For detailed installation instructions, see
	https://www.tecgraf.puc-rio.br/~lhf/ftp/lua/install.html

For the latest version of this library, see
	https://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lqd

The library is simple and intuitive; see the summary below.
Read test.lua to see the library in action.

This code is hereby placed in the public domain and also under the MIT license.
The qd code in src/ has its own license. See src/COPYING.

Please send comments, suggestions, and bug reports to lhf@tecgraf.puc-rio.br .

qd library:
__add(x,y)	__unm(x)	compare(x,y)	log10(x)	sincosh(x)
__div(x,y)	abs(x)		cos(x)		mod(x,y)	sinh(x)
__eq(x,y)	acos(x)		cosh(x)		mul(x,y)	sqr(x)
__idiv(x,y)	acosh(x)	digits([n])	neg(x)		sqrt(x)
__le(x,y)	add(x,y)	div(x,y)	new(x)		sub(x,y)
__lt(x,y)	asin(x)		exp(x)		pi		tan(x)
__mod(x,y)	asinh(x)	floor(x)	pow(x,y)	tanh(x)
__mul(x,y)	atan(x)		idiv(x,y)	random()	tonumber(x)
__pow(x,y)	atan2(y,x)	ipow(x,n)	round(x)	tostring(x,[n])
__sub(x,y)	atanh(x)	iroot(x,n)	sin(x)		trunc(x)
__tostring(x)	ceil(x)		log(x)		sincos(x)	version
