Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #59787

Re: FP-Number Ambiguities

Newsgroups comp.lang.forth
Date 2017-05-24 13:12 -0700
References <5fa5c564-0e26-4a1b-8236-3d240449b29d@googlegroups.com> <2017May20.125641@mips.complang.tuwien.ac.at> <f1515801-847a-4eb3-804c-d804e0e7460e@googlegroups.com> <9697bc16-9a37-44ec-9c86-bf1b8727444c@googlegroups.com> <fec5cffb-a552-447a-83be-88f6779fab6f@googlegroups.com>
Message-ID <bae12670-e2ac-4730-b0a0-2e65c5ef047e@googlegroups.com> (permalink)
Subject Re: FP-Number Ambiguities
From minforth@arcor.de

Show all headers | View raw


Am Mittwoch, 24. Mai 2017 21:13:46 UTC+2 schrieb pahihu:
> 2017. május 24., szerda 20:21:55 UTC+2 időpontban minf...@arcor.de a következőt írta:
> > Am Mittwoch, 24. Mai 2017 19:19:40 UTC+2 schrieb pahihu:
> > > In Gforth 0.7.9_20170518:
> > > 
> > > -1e 0e f/ f. -in ok
> > > 
> > > pahihu
> > 
> > the same here
> > > -1. 0. f/ f. -inf  ok
> > 
> 
> In Gforth the "f" is missing, just "-in".
> 
> iForth uses PRECISION as decimal digits, not significant digits.
> Gforth and SwiftForth uses PRECISION as significant digits.
> Gforth rounds in F. FS. FE. but SwiftForth truncates....
> 
> pahihu

It might just be a small gforth bug. gforth 0.7.0 prints Inf, but unsigned.

My first post in this thread suggested a reference table for input and
output formats of doubles and floats.

But legacy chaos rules.

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

FP-Number Ambiguities minforth@arcor.de - 2017-05-19 14:06 -0700
  Re: FP-Number Ambiguities anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-20 10:56 +0000
    Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-20 11:50 -0700
      Re: FP-Number Ambiguities anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-21 14:59 +0000
        Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-21 12:08 -0700
          Re: FP-Number Ambiguities mhx@iae.nl - 2017-05-21 12:50 -0700
            Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-21 15:04 -0700
          Re: FP-Number Ambiguities anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-22 11:43 +0000
            Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-22 06:40 -0700
              Re: FP-Number Ambiguities albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-05-22 16:33 +0200
                Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-22 08:34 -0700
              Double numbers and floats in the text interpreter (was: FP-Number...) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-22 16:17 +0000
    Re: FP-Number Ambiguities pahihu <pahihu@gmail.com> - 2017-05-24 10:19 -0700
      Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-24 11:21 -0700
        Re: FP-Number Ambiguities pahihu <pahihu@gmail.com> - 2017-05-24 12:13 -0700
          Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-24 13:12 -0700
  Re: FP-Number Ambiguities (answer imported from future) Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2017-05-20 22:54 +0100
  Re: FP-Number Ambiguities "HAA" <someone@microsoft.com> - 2017-05-24 17:21 +1000
    Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-24 01:11 -0700
      Re: FP-Number Ambiguities "HAA" <someone@microsoft.com> - 2017-05-25 12:28 +1000
        Re: FP-Number Ambiguities minforth@arcor.de - 2017-05-25 00:36 -0700

csiph-web