Adding f.s and fix typo.
This commit is contained in:
@ -46,5 +46,7 @@ forth definitions internals
|
||||
|
||||
: #fs ( r -- ) fdup f0< if fnegate #f+s [char] - hold else #f+s then ;
|
||||
: f. ( r -- ) <# #fs #> type space ;
|
||||
: f.s ." <" fdepth n. ." > "
|
||||
fdepth 0 max for aft fp@ r@ sfloats - sf@ f. then next ;
|
||||
|
||||
forth definitions
|
||||
|
||||
@ -179,11 +179,13 @@ AFLITERAL ( r -- )
|
||||
FLITERAL ( r -- ) IMMEDIATE
|
||||
|
||||
FCONSTANT ( r "name" )
|
||||
FVARAIABLE ( "name" )
|
||||
FVARIABLE ( "name" )
|
||||
|
||||
PI ( -- r )
|
||||
|
||||
FSQRT ( r r -- r )
|
||||
|
||||
F.S ( -- ) Print float stack.
|
||||
</pre>
|
||||
|
||||
<h5>Locals</h5>
|
||||
|
||||
Reference in New Issue
Block a user