Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock Newsgroups: comp.lang.java.programmer Subject: Special Values for Dogelog Player (Re: Full Multiply in Railgun CLP) Date: Wed, 18 Feb 2026 00:01:55 +0100 Message-ID: <10n2s13$btuj$3@solani.org> References: <10ktcvf$gfeg$4@solani.org> <10ljd7b$16ti$4@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 17 Feb 2026 23:01:55 -0000 (UTC) Injection-Info: solani.org; logging-data="391123"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.23 Cancel-Lock: sha1:iHceeWr/1hj0G5K9nnlHlv4DS8I= X-User-ID: eJwFwQkBwDAIA0BL5QkBOZQO/xJ2BwuJoQfCsVhN3pBrkv7qm219zANJ6sg2wrR3HSd4s/sudMa0itwK8gdGwxUa In-Reply-To: <10ljd7b$16ti$4@solani.org> Xref: csiph.com comp.lang.java.programmer:53753 Dogelog Player is a novel Prolog system for the JavaScript, Python and Java target. It is unique in that most of its core is written in 100% Prolog itself. While it might not be as posh as other Prolog system, the addition of special values gives it nevertheless an eclectic shoe shine. Our introduction of positive infinity 0rInf and negative infinity -0rInf is rather surgical. We didn’t touch the basic arithmetic like (+)/2, (-)/2, (*)/2, etc.. or trigonometric functions like sin/2, cos/2, etc.. But they are now understood by min/2 and max/2, and arithmetic comparison as well. See also: Special Values for Dogelog Player https://medium.com/2989/8cced7f3d3e7 Mild Shock schrieb: > > Railgun CLP is a portable constraint solver > library, developed in connection with Dogelog > Player. It requires nothing more than ISO core > standard Prolog and shows an amazing performance. > We added full multiply. > > We discussed full multiply which can extend the > constraint solver from positive intervals, to > negative and zero centered intervals. The realized > compilation scheme does incure a small penality > and in examples such as Pythago and Euler we still > see a 5x to 15x speed-up against SWI-Prolog. > > See also: > > Full Multiply in Railgun CLP > https://medium.com/2989/26eb4445e5b1 > > Mild Shock schrieb: >> Dear All, >> >> We are happy to announce a new edition >> of the Dogelog Player: >> >> - Enhanced library(compat): >> We introduced a new built-in occurs_check/2. >> The predicate could be bootstrapped from >> unify_with_occurs_check/2 via occurs_check(V,T) >> :- \+ unify_with_occurs_check(V, T). But >> tapping into the native check gives better performance. >> >> - Enhanced library(math): >> We introduced sqrtrem/3 and isqrt/2 built-ins, >> for integer square root. The former is a predicate >> that also computes a reminder, and the later is >> an evaluable predicate, that suppresses the reminder. >> >> - New Railgun CLP: >> What began as a sport in December 2025 to explore >> a constraint solver that only uses ISO core >> standard Prolog. Is now a full project with >> iterative milestones. In this release we provide >> the basic vocabulary of CLP(FD), and an enhanced >> solver that uses min/max based partial consistency. >> >> Have Fun! >> >> Jan Burse, https://www.herbrand.ai/ , 22.01.2026 >