Article View: comp.lang.forth
Article #202Symbolic computing in Forth?
From: marcel hendrix
Date: Fri, 30 Oct 2026 13:03
Date: Fri, 30 Oct 2026 13:03
23 lines
2317 bytes
2317 bytes
I'd like to add a symbolic solver to my iSPICE and SIMPWL network analysis tools. Such a solver is able to return, e.g., the solution to a voltage divider (R1=9k, R2=1k) across a voltage source (V1=10V) as "V1*R2/(R1+R2)" instead of as "0.1". I remember, but absolutely can't find anymore, a paper/book that showed how to do this by defining a peculiar loss-free transformation of the input values. AFAIR, it scaled values such that their bit-patterns did not overlap. (Yes, there probably is a link with current CLF threads on variable precision floating point and lossless number input and output). It was then possible, maybe with limitations, to disassemble the rational number output "0.1" (or maybe "1 / 10") back to the formula "V1*R2/(R1+R2) => (10 * 1k) / (1k + 9k)" by identifying the products, sums, and ratios of 10, 1k, and 9k. Of course this was a very old paper. It would be acceptable if only one, or a few, component values are symbolic and the rest numeric, as for even modest size circuits the truly symbolic output becomes so voluminous that all insights on the physical circuit behavior are lost anyway. -marcel
Technical Details
Message-ID:
<11c24jb$374sm$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: marcel hendrix <mhx@iae.nl> Newsgroups: comp.lang.forth Subject: Symbolic computing in Forth? Date: Fri, 30 Oct 2026 14:03:38 +0100 Organization: A noiseless patient Spider Lines: 23 Message-ID: <11c24jb$374sm$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 30 Oct 2026 13:03:40 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3380118"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+17BC1D5kzi+e/+5vvoXzbPqfW6aDnEYQ="; posting-host="0b54eb84ec0d3049aa85cfb01eb1b2e9" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:h0dZNItsqqT+BkJaeo+/WIkcLqQ= sha256:4rqcXuU9DhREYWIXodHnyvRHK96SE/nGjc0/nzV+ALU= sha1:Qskg+Nz3Y+QY/oqdNcs4jpXTAHM= sha256:e8elzBUuNYjlyMQDrY7wnM+ZV3byZenv6nA1+f8Afs8= Content-Language: en-US