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


Groups > comp.lang.forth > #26638

Re: Short and sweet (F.)

From "Ed" <invalid@invalid.com>
Newsgroups comp.lang.forth
Subject Re: Short and sweet (F.)
Date 2013-10-19 11:12 +1000
Organization Aioe.org NNTP Server
Message-ID <l3sise$e5m$1@speranza.aioe.org> (permalink)
References <ac476f9d-1c23-49bf-aaa8-f0f32c22211f@googlegroups.com>

Show all headers | View raw


Brad Eckert wrote:
> ...
> \ Improvement over typical F.
> \ 1. Outputs to string
> \ 2. Rounding
> \ 3. Freakin' small

Compare with 'fracout' posted a year ago ...

1. Output to string
2. Rounding
3. Smaller (165 bytes vs. 248 for short&sweet)
4. No dependency on mantissa fitting a double number

    fracout:
    -1e 3e f/  15 (f.)  cr type
    -0.333333333333333

    short&sweet:
    -1e 3e f/  (f.)  cr type
    -0.00000214748365

5. No dependency on separate f.p stack
6. Optional comma'd output

Fracout is king, long live fracout!






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


Thread

Short and sweet (F.) Brad Eckert <hwfwguy@gmail.com> - 2013-10-17 16:04 -0700
  Re: Short and sweet (F.) Brad Eckert <hwfwguy@gmail.com> - 2013-10-18 06:12 -0700
    Re: Short and sweet (F.) mhx@iae.nl - 2013-10-18 10:40 -0700
      Re: Short and sweet (F.) "Ed" <invalid@invalid.com> - 2013-10-19 11:58 +1000
      Re: Short and sweet (F.) Brad Eckert <hwfwguy@gmail.com> - 2013-10-20 07:12 -0700
        Re: Short and sweet (F.) Brad Eckert <hwfwguy@gmail.com> - 2013-10-20 08:51 -0700
          Re: Short and sweet (F.) Brad Eckert <hwfwguy@gmail.com> - 2013-10-20 09:20 -0700
          Re: Short and sweet (F.) "Ed" <invalid@invalid.com> - 2013-10-24 22:34 +1000
  Re: Short and sweet (F.) "Ed" <invalid@invalid.com> - 2013-10-19 11:12 +1000
    Re: Short and sweet (F.) Hans Bezemer <the.beez.speaks@gmail.com> - 2013-10-19 18:39 +0200

csiph-web