[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gforth] Floating-point stack underflow
From: |
Terrence Brannon |
Subject: |
[gforth] Floating-point stack underflow |
Date: |
Sat, 6 Mar 2010 09:38:03 -0500 |
I tried to put 2 floating point numbers on the stack and was not even
able to do that, let alone add them.
Perhaps the docs on types
<http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Types-Tutorial.html#Types-Tutorial>
which mentions, f+ needs an example?
sh-3.2$ ./gforth
Gforth 0.7.0, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
5.5
5.5 ok
2.2
2.2 ok
.s
.s <4> 55 0 22 0 ok
f+
f+
:4: Floating-point stack underflow
>>>f+<<<
Backtrace:
$7FBA2C08 throw
.s
.s <0> ok
- [gforth] Floating-point stack underflow,
Terrence Brannon <=