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


Groups > comp.lang.forth > #26654

Re: Short and sweet (F.)

Newsgroups comp.lang.forth
Date 2013-10-20 07:12 -0700
References <ac476f9d-1c23-49bf-aaa8-f0f32c22211f@googlegroups.com> <bd63bd4c-5947-441c-8336-118f4ca650a4@googlegroups.com> <50a120cf-fe42-419b-9177-73d3584aa648@googlegroups.com>
Message-ID <25b4e671-a604-458f-bd6c-44766db674fd@googlegroups.com> (permalink)
Subject Re: Short and sweet (F.)
From Brad Eckert <hwfwguy@gmail.com>

Show all headers | View raw


On Friday, October 18, 2013 1:40:18 PM UTC-4, m...@iae.nl wrote:
> 
> Then there is a problem with the IEEE arithmetic implementation 
> 

Actually, FLOG is fine. F>S throws a "divide by 0" error on -INF.

> 
> FORTH> 3.141592653589793235e Q
> 3.141592653589793235
> 3.14159265358979323 ok
> 

There's a difference between how SwiftForth and your forth interpret PRECISION.

I should probably use a variable instead of the system's PRECISION so (F.) can have different precision than F0= and friends.

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