bug-gforth
[Top][All Lists]
Advanced

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

[Bug-gforth] [bug #50221] FP operations produce unexpected NaNs


From: anonymous
Subject: [Bug-gforth] [bug #50221] FP operations produce unexpected NaNs
Date: Sat, 4 Feb 2017 00:10:24 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8

Follow-up Comment #2, bug #50221 (project gforth):

Sure (sorry for the sloppy bug report): 

gforth 0.7.9_20170112 amd64 (on mac os x sierra, compiled with gcc-4.9.3)

I found that this is likely only a problem of the float->string conversion:

2e0 -53e0 f** fconstant eps  \ LSB of 1e0 as ieee double-float
1e0 fe. cr
1e0 eps f- fe. cr
1e0 eps f- eps f- fe. cr
1e0 eps f- eps f- eps f- fe. cr

Prints:

1.00000000000000E0 
:  
:  
1.00000000000000E0 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50221>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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