Re: Floating point numbers and 'precision'

Bernd Paysan via Gforth <gforth-mXXj517/[email protected]>
Newsgroups gmane.comp.lang.forth.gforth
Message-ID <50632348.cKnbjJqBhq@daiyu>
Am Donnerstag, 26. September 2019, 08:09:00 CEST schrieb Anton Ertl:
> It's not cast in stone.  Instead of "16 5 11 f.rdp", f.s could also
> use "precision 7 max dup 0 f.rdp" or somesuch.

Or have some separate precision value for f.s. f.s is for debugging, and I 
want a consistent output even when precision changes.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAl2MpzYACgkQ9y2Uk5Mt
oGfblw/+LSVdN7Ql1TyDABYE6jt6j2R1GDYJO9mVNGregP6XzrqTSKmF9duNUgqo
HJEH+gRFUSH7nndJJMy1PFDWqMShPROM6gsiUoGnbDqWdvh+7atZaBBP5+6uxoTp
ibJ4wcdmHgyfz7KL5J18sneItyzTWp1QXcKRAlwkbaoz2Q+vfRxW43xJpqo/J5b3
H9zpDJtoXzAR96TJXcZBl/+L2hXefdlDQhcefN2hvhiT+rbQ/eHQqWEm83NCs68g
LgEGua3tesvc23WhwwtlUR8AoDuvPk/8qtr72kMtY9fr8z9QOFvoCKCYG+6OLGg2
/Pps7yB635KL1k5pe/HnOxKRp0/RT6y9lbpxXheRlYLBn+P0EryT1Tk6osI2JN/C
5Z0q1vY2s+SHfHQb0eaYnG1W8CeXspWqzZhlIVEwy6Cjf/S2cxNTkBNg5MOtd7I6
LLJP6Z2bh+F6tqsfBQoHw5447jLcjq4ZihVkD/YXrqmT/XLdWJ71ebvDeOFU1rX7
mx8DtL8SWq5jRLaAcHIHZjZFC4Fs30DgjuWUjG7ciT6pxsyHhV3tTtEizMoV8ZQM
MXx9xY67l6cbS0EGRR1hv37JRP6BCgJcKNjugNNAAmusCfmktBjFdJhEXyoTAN5v
DkZLxx+pcQfmekJmrJwC5JsaLZlgZEMH1vUsO2HKLp3eKAR7iYk=
=Yf7B
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.