bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #60250] Number conversion


From: Anton Ertl
Subject: [bug #60250] Number conversion
Date: Tue, 23 Mar 2021 09:50:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.5.0

Update of bug #60250 (project gforth):

                  Status:                    None => Fixed                  
             Assigned to:                    None => paysan                 
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Gforth goes beyond the standard in allowing "." (for doubles) in any position,
both to support traditional practices, and because of the way that the integer
and the floating-point recognizer interact (if the integer recognizer comes
first, all numbers with a "." should be double integers).

In the current git version Gforth requires at least one digit in the whole
number (as well as between every pair of dots) to be recognized as double
integer.  This still shadows all floats, but means that there are no warnings
for your test case.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60250>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]