Export to GitHub

pforth - issue #2

Enter one-line summary


Posted on Oct 9, 2009 by Grumpy Hippo

What steps will reproduce the problem? 1. 1E 2. 3.

What is the expected output? What do you see instead? 1.0e0 should be added to floating point stack. Instead we get undefined word

What version of the product are you using? On what operating system? V24-LE Windows XP

Please provide any additional information below. From DPANS94: "These are examples of valid representations of floating-point numbers in program source:

    1E   1.E   1.E0   +1.23E-1   -1.23E+1 "

Comment #1

Posted on Dec 6, 2009 by Happy Rabbit

This does not occur with V24-LE on my OS X box (10.5.8)

Comment #2

Posted on Aug 20, 2010 by Massive Ox

I can reproduce the problem in current.

Comment #3

Posted on Aug 23, 2010 by Swift Panda

Fixed by checking for end of string.

Status: Fixed

Labels:
Type-Defect Priority-Medium