Re: kForth-64/32 updates

Liste des GroupesRevenir à cl forth 
Sujet : Re: kForth-64/32 updates
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forth
Date : 13. Mar 2025, 10:46:17
Autres entêtes
Organisation : novaBBS
Message-ID : <6a8844f406e13dd9f78628db21c2e13a@www.novabbs.com>
References : 1 2
User-Agent : Rocksolid Light
On Sun, 9 Mar 2025 2:21:12 +0000, Krishna Myneni wrote:

I've added the MPFR library test code to the battery of tests I perform
before pushing commits to the kForth repos.
Just a side notice:
I implemented a MPFR BiGFloat wordlist using an extra stack for
mpfr_struct pointer structures. The mpfr wordlist is almost 1:1
equivalent to the standard Forth fp-number wordlist. This seamless
integration into the Forth environment greatly improves coding
productivity, e.g. when converting code from fp-numbers to bigfloat
numbers for numerical integration.
MinForth 3.6 (64 bit) (bf mpfr)
# B1  ok
B: 1 # B1.3e-1  ok
B: 1 0.13 # bswap  ok
B: 0.13 1 # b+  ok
B: 1.13 # bsin  ok
B: 0.904412 # 1000 set-bprecision  ok
B: 0.904412 # b.
9.044121893788259160370815224113958490069049238705633177599189232383754249437441058833871032566866760301966980078276673212982639707524250601795132322907102974263442716497406225816666544659047966957621427557012074916788224587804734255769290030002593994140625e-1
 ok
# bpi  ok
B: 3.14159 # b.
3.1415926535897932384626433832795028841971693993751058209749445923078164062861980294536250318213496466758841295330717990647287577300387921745554379812433476086285782359849691502495386391042948825058346599055448329813888808104138661292381584644317626953125
 ok
#
--

Date Sujet#  Auteur
8 Mar 25 * kForth-64/32 updates4Krishna Myneni
9 Mar 25 +* Re: kForth-64/32 updates2Krishna Myneni
13 Mar 25 i`- Re: kForth-64/32 updates1minforth
12 Apr 25 `- Re: kForth-64/32 updates1anthk

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal