From: Matthias T. <mt...@we...> - 2018-12-11 12:25:12
|
Am Dienstag, den 11.12.2018, 13:02 +0100 schrieb f.zelders--- via Amforth-devel: > In gforth the word d>s (It couverts a signed double drecision number > to a signed single precision number) is part of the default word set. > This word is not available in the default amforth word set. d>s is simple: DROP since the higher cell shall be 0 for this, you may want to make sure and throw an exception otherwise, a task that I happily leave to the reader ;) > > Can't find a amforth word definition of s>d. 😞 It's in the file common/words/s_to_d.asm. The definition itself is short, but somewhat surprising : s>d dup 0< ; Matthias |