Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #60272 > unrolled thread
| Started by | Matthias Trute <matthias.trute@gmail.com> |
|---|---|
| First post | 2017-06-04 01:25 -0700 |
| Last post | 2017-06-09 18:07 +0000 |
| Articles | 3 on this page of 63 — 24 participants |
Back to article view | Back to comp.lang.forth
RFD: Drop double numbers as input format Matthias Trute <matthias.trute@gmail.com> - 2017-06-04 01:25 -0700
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-04 03:45 -0500
Re: RFD: Drop double numbers as input format mhx@iae.nl - 2017-06-04 02:10 -0700
Re: RFD: Drop double numbers as input format albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-06-04 12:12 +0200
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-05 02:32 -0500
Re: RFD: Drop double numbers as input format albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-06-05 10:19 +0200
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-05 09:14 +0000
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-05 04:57 -0500
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-05 04:51 -0500
Re: RFD: Drop double numbers as input format Cecil Bayona <cbayona@cbayona.com> - 2017-06-05 11:53 -0500
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-05 12:29 -0500
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-05 11:20 -0700
Re: RFD: Drop double numbers as input format Julian Fondren <julian.fondren@gmail.com> - 2017-06-05 11:25 -0700
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-06 00:50 -0700
Re: RFD: Drop double numbers as input format stephen@mpeforth.com (Stephen Pelc) - 2017-06-06 10:16 +0000
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-06 05:30 -0700
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-06 22:54 -0700
Re: RFD: Drop double numbers as input format Mark Wills <markwills1970@gmail.com> - 2017-06-06 02:12 -0700
Re: RFD: Drop double numbers as input format Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-06-06 04:23 -0500
Re: RFD: Drop double numbers as input format Cecil Bayona <cbayona@cbayona.com> - 2017-06-06 10:26 -0500
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-06 09:52 +0000
Re: RFD: Drop double numbers as input format Raimond Dragomir <raimond.dragomir@gmail.com> - 2017-06-06 04:57 -0700
Re: RFD: Drop double numbers as input format Mark Wills <markwills1970@gmail.com> - 2017-06-06 06:01 -0700
Re: RFD: Drop double numbers as input format Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2017-06-06 18:07 +0100
Re: RFD: Drop double numbers as input format Julian Fondren <julian.fondren@gmail.com> - 2017-06-06 08:09 -0700
Re: RFD: Drop double numbers as input format Mark Wills <markwills1970@gmail.com> - 2017-06-06 11:51 -0700
Re: RFD: Drop double numbers as input format Julian Fondren <julian.fondren@gmail.com> - 2017-06-06 12:19 -0700
Re: RFD: Drop double numbers as input format Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2017-06-10 23:23 +0100
Re: RFD: Drop double numbers as input format Paul Rubin <no.email@nospam.invalid> - 2017-06-04 17:05 -0700
Re: RFD: Drop double numbers as input format rickman <gnuarm@gmail.com> - 2017-06-04 21:38 -0400
Re: RFD: Drop double numbers as input format Julian Fondren <julian.fondren@gmail.com> - 2017-06-04 20:26 -0700
Re: RFD: Drop double numbers as input format mhx@iae.nl - 2017-06-05 00:01 -0700
Re: RFD: Drop double numbers as input format Matthias Trute <matthias.trute@gmail.com> - 2017-06-05 01:18 -0700
Re: RFD: Drop double numbers as input format mhx@iae.nl - 2017-06-04 23:47 -0700
Re: RFD: Drop double numbers as input format Ron Aaron <rambamist@gmail.com> - 2017-06-05 09:56 +0300
Re: RFD: Drop double numbers as input format Mark Wills <markwills1970@gmail.com> - 2017-06-06 01:46 -0700
Re: RFD: Drop double numbers as input format "HAA" <someone@microsoft.com> - 2017-06-07 21:44 +1000
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-07 05:13 -0700
Re: RFD: Drop double numbers as input format "HAA" <someone@microsoft.com> - 2017-06-08 12:36 +1000
Re: RFD: Drop double numbers as input format Raimond Dragomir <raimond.dragomir@gmail.com> - 2017-06-07 07:33 -0700
Re: RFD: Drop double numbers as input format "HAA" <someone@microsoft.com> - 2017-06-08 12:34 +1000
Re: RFD: Drop double numbers as input format Alex <alex@rivadpm.com> - 2017-06-08 09:55 +0100
Re: RFD: Drop double numbers as input format "HAA" <someone@microsoft.com> - 2017-06-11 17:22 +1000
Re: RFD: Drop double numbers as input format hughaguilar96@gmail.com - 2017-06-08 17:13 -0700
Re: RFD: Drop double numbers as input format mhx@iae.nl - 2017-06-04 02:18 -0700
Re: RFD: Drop double numbers as input format "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-06-04 09:54 +0000
Re: RFD: Drop double numbers as input format albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-06-04 12:07 +0200
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-04 10:18 +0000
Re: RFD: Drop double numbers as input format mhx@iae.nl - 2017-06-04 05:47 -0700
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-04 15:44 +0000
Re: RFD: Drop double numbers as input format Matthias Trute <matthias.trute@gmail.com> - 2017-06-04 09:10 -0700
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-04 16:21 +0000
Re: RFD: Drop double numbers as input format Coos Haak <htrofhc@gmail.com> - 2017-06-04 18:33 +0200
Re: RFD: Drop double numbers as input format Bernd Paysan <bernd@net2o.de> - 2017-06-07 01:21 +0200
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-06 22:57 -0700
Re: RFD: Drop double numbers as input format Julian Fondren <julian.fondren@gmail.com> - 2017-06-06 23:34 -0700
Re: RFD: Drop double numbers as input format minforth@arcor.de - 2017-06-07 01:12 -0700
Re: RFD: Drop double numbers as input format The Beez <the.beez.speaks@gmail.com> - 2017-06-07 02:38 -0700
Re: RFD: Drop double numbers as input format JennyB <jennybrien@googlemail.com> - 2017-06-07 02:45 -0700
Re: RFD: Drop double numbers as input format foxaudioresearch@gmail.com - 2017-06-08 18:34 -0700
Re: RFD: Drop double numbers as input format Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> - 2017-06-10 23:08 +0100
Re: RFD: Drop double numbers as input format anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-06-11 12:32 +0000
Re: RFD: Drop double numbers as input format "Rudy Velthuis" <newsgroups@rvelthuis.de> - 2017-06-09 18:07 +0000
Page 4 of 4 — ← Prev page 1 2 3 [4]
| From | Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> |
|---|---|
| Date | 2017-06-10 23:08 +0100 |
| Message-ID | <20170610230818.2cca4ae4@t530.lan> |
| In reply to | #60475 |
On Thu, 8 Jun 2017 18:34:48 -0700 (PDT) foxaudioresearch@gmail.com wrote: > > > Typical Usage > > > ============= > > > > > > Existing double cell input formats are to be split into > > > two literals. Existing sequences such as "1." are to be > > > replaced with " 1 0 ". > > I like this one. > This would make Forth appear more "normal" "rational" (pick > your own word) to newbies. > > If there was a standard way to add this functionality to a > "standard" system that would be ideal but I may be dreaming in > full colour with that idea. Do you like hex? Gforth 0.7.9_20170518, Copyright (C) 1995-2016 Free Software Foundation, Inc. Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' Type `help' for basic help ok hex ok ok 1122334455667788 88aabbccddeeff00 swap d. 112233445566778888AABBCCDDEEFF00 ok Decimal is harder, as Albert has been lamenting, especially for floats. Jan Coombs
[toc] | [prev] | [next] | [standalone]
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Date | 2017-06-11 12:32 +0000 |
| Message-ID | <2017Jun11.143256@mips.complang.tuwien.ac.at> |
| In reply to | #60582 |
Jan Coombs <jenfhaomndgfwutc@murmic.plus.com> writes:
>On Thu, 8 Jun 2017 18:34:48 -0700 (PDT)
>foxaudioresearch@gmail.com wrote:
>
>> > > Typical Usage
>> > > =============
>> > >
>> > > Existing double cell input formats are to be split into
>> > > two literals. Existing sequences such as "1." are to be
>> > > replaced with " 1 0 ".
>>
>> I like this one.
>> This would make Forth appear more "normal" "rational" (pick
>> your own word) to newbies.
>>
>> If there was a standard way to add this functionality to a
>> "standard" system that would be ideal but I may be dreaming in
>> full colour with that idea.
>
>Do you like hex?
>
>Gforth 0.7.9_20170518, Copyright (C) 1995-2016 Free Software
>Foundation, Inc. Gforth comes with ABSOLUTELY NO WARRANTY; for
>details type `license' Type `help' for basic help
> ok
>hex ok
> ok
>1122334455667788 88aabbccddeeff00 swap d.
>112233445566778888AABBCCDDEEFF00 ok
[~/gforth:94671] sf
SwiftForth i386-Linux 3.6.3 29-Jun-2016
hex ok
1122334455667788 88aabbccddeeff00 swap cr d.
55667788DDEEFF00 ok
Hmm.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
[toc] | [prev] | [next] | [standalone]
| From | "Rudy Velthuis" <newsgroups@rvelthuis.de> |
|---|---|
| Date | 2017-06-09 18:07 +0000 |
| Message-ID | <xn0kr169ebdvk7h00o@nntp.aioe.org> |
| In reply to | #60429 |
JennyB wrote:
> In which languages is 1. as opposed to 1.0 both a valid floating
point
> number and commonly used as such?
In most. Can't always say if 1. is commonly used (that depends on the
author of the code), but it is certainly valid for floating point (and
*only* for floating point) in most languages. Forth is the only
language I know that denotes a double *integer* with a trailing dot.
After all, it is not called "decimal point" for nothing.
> And does any language use floating point in a base other than decimal?
Yes, e.g. C:
float val = 0xDE.488641p8;
Instead of e or E, it uses p or P for the exponent (which is *not*
optional).
https://stackoverflow.com/a/5480396/95954
--
Rudy Velthuis http://www.rvelthuis.de
"Why do grandparents and grandchildren get along so well? They
have the same enemy -- the mother." -- Claudette Colbert.
[toc] | [prev] | [standalone]
Page 4 of 4 — ← Prev page 1 2 3 [4]
Back to top | Article view | comp.lang.forth
csiph-web