www.delorie.com/gnu/docs/gforth/gforth_69.html   search  
 
Buy GNU books!


Gforth Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.5.1 Single precision

By default, numbers in Forth are single-precision integers that are one cell in size. They can be signed or unsigned, depending upon how you treat them. For the rules used by the text interpreter for recognising single-precision integers see 5.13.2 Number Conversion.

These words are all defined for signed operands, but some of them also work for unsigned numbers: +, 1+, -, 1-, *.

doc-+ doc-1+ doc-- doc-1- doc-* doc-/ doc-mod doc-/mod doc-negate doc-abs doc-min doc-max doc-floored


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003