[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Mike's Arbitrary Precision Math Library Lua Binding, Proposal for an Extension
- From: Alexander Walz <agena.info@...>
- Date: Mon, 14 Aug 2023 18:29:15 +0200
Hello,
Henrique de Figueiredo published a Lua 5.1 binding of late Mike Ring's
MAPM library in the 2000's.
I extended it over the years on a Lua 5.1 fork.
Are you interested in extending the Lua binding ?
You will find a C source proposal of the extension to Henrique's package at:
https://sourceforge.net/projects/agena/files/Packages/mapm.c/download
Yours,
Alex
Extended features may be:
- polynomial term c*x^n,
- logarithm to the base of 2 and 10,
- logarithm to the base of any integer,
- exponentiation by an integer,
- support of Chebyshev polynomials,
- arcsecant,
- arccosecant,
- C's trunc,
- hypothenuse,
- sqrt(a^2 - b^2),
- square,
- cube,
- emulated fused multiply-add: a*b + c.