Sujet : Re: 0 SET-ORDER why?
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 29. Jun 2024, 04:27:52
Autres entêtes
Organisation : Ausics - https://newsgroups.ausics.net
Message-ID : <667f7f39$1@news.ausics.net>
References : 1 2 3 4 5 6
User-Agent : Mozilla Thunderbird
On 28/06/2024 7:51 pm, Ruvim wrote:
...
Gforth throws exception -262, but is should not.
sp-forth/4 handles this case correctly.
Attempting to do u=0 on Windows Gforth (2020) results in the entire app
crashing. AFAIK its REPRESENT is based on ecvt() so anything is possible
when fed with an illegal parameter.
I believe SP-Forth uses one of my REPRESENT implementations from ~2004.
It doesn't surprise me you got that result :) For those interested a superior
implementation can be found below. Included is a forth floating point output
package so good I've not needed REPRESENT since.
Represent35.txt
https://drive.google.com/drive/folders/1kh2WcPUc3hQpLcz7TQ-YQiowrozvxfGw