Dear All,
We are happy to announce a new release of formerly Jekejeke
Runtime 1.5.5. The main new features relate to the introduction of a
quadruple precision number type.
- Parsing/Unparsing: Formerly Jekejeke Runtime has already
the syntax 0dXXX for unlimited BigDecimal. The new syntax is
0mXXX for BigDecimal with associated MathContext DECIMAL128.
- Basic Arithmetic: Goal was to stay compliant with ISO core
standard, i.e. do not introduce some flag hell, and do not change
the ISO core standard definitions. Basic arithmetic is directly
handled inside the core of formerly Jekejeke Prolog.
Example:
?- X is 1/3.
X = 0.3333333333333333.
?- X is 1/0m3.
X = 0m0.3333333333333333333333333333333333.
- Mathematical Functions: We moved some multi-precision
mathematical functions from formerly Jekejeke Minlog to
formerly Jekejeke Runtime. New introductions is the qp/1
evaluator, where qp stands for quadruple precision. There
is a library that allows overloading the sqrt/1, sin/1, etc..
evaluable functions so that they act polymorphically:
Example:
?- use_module(library(experiment/quad)).
?- X is sin(pi/3).
X = 0.8660254037844386.
?- X is sin(qp(pi)/3).
X = 0m0.866025403784438646763723170752936.
Have Fun!
Jan Burse, 05.01.2023
http://www.xlog.ch/
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)