Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

We are MicroSoft. You will be assimilated. Resistance is futile. (Attributed to B.G., Gill Bates)


devel / comp.lang.c / Re: Decimal Floating Point With GNU/Linux

SubjectAuthor
* Decimal Floating Point With GNU/LinuxLAP
+- Re: Decimal Floating Point With GNU/Linuxsongbird
+- Re: Decimal Floating Point With GNU/LinuxKeith Thompson
+- Re: Decimal Floating Point With GNU/LinuxJohn McCue
`* Re: Decimal Floating Point With GNU/LinuxBonita Montero
 `- Re: Decimal Floating Point With GNU/Linuxjames...@alumni.caltech.edu

1
Decimal Floating Point With GNU/Linux

<17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25696&group=comp.lang.c#25696

  copy link   Newsgroups: comp.lang.c
From: lap...@lap.lap (LAP)
Subject: Decimal Floating Point With GNU/Linux
Newsgroups: comp.lang.c
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 16
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 21 May 2023 14:31:37 +0000
Nntp-Posting-Date: Sun, 21 May 2023 14:31:37 +0000
X-Received-Bytes: 849
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
 by: LAP - Sun, 21 May 2023 14:31 UTC

There seems to be a dearth of material available on programming
in the C language with decimal floating point (DECFP).

DECFP was already defined long ago in the IEEE754-2008 standard
but it seems that it is not extensively used. I wanted to learn
about DECFP but was able to find little material relevant to the
C language.

As a result, I wrote a primer covering the rudiments of DECFP
programming on GNU/Linux with GCC:

http://lapiet.info/gnulinux/decfp/decfp.html

Comments are welcome.

Re: Decimal Floating Point With GNU/Linux

<6rppjj-524.ln1@anthive.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25699&group=comp.lang.c#25699

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: songb...@anthive.com (songbird)
Newsgroups: comp.lang.c
Subject: Re: Decimal Floating Point With GNU/Linux
Date: Sun, 21 May 2023 11:27:02 -0400
Organization: the little wild kingdom
Lines: 41
Message-ID: <6rppjj-524.ln1@anthive.com>
References: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
Reply-To: songbird <songbird@anthive.com>
Injection-Info: dont-email.me; posting-host="fd77c22779ff526e9c339ff385dc7fcd";
logging-data="1730198"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Ci6fUlKm2bah3ExBZs2BP1O5tgVU8SpU="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:szSjQyPav2wnFmwMhy+0Q0vWjOQ=
 by: songbird - Sun, 21 May 2023 15:27 UTC

LAP wrote:
> There seems to be a dearth of material available on programming
> in the C language with decimal floating point (DECFP).
>
> DECFP was already defined long ago in the IEEE754-2008 standard
> but it seems that it is not extensively used. I wanted to learn
> about DECFP but was able to find little material relevant to the
> C language.
>
> As a result, I wrote a primer covering the rudiments of DECFP
> programming on GNU/Linux with GCC:
>
> http://lapiet.info/gnulinux/decfp/decfp.html
>
> Comments are welcome.

thanks! :)

on a Debian system the following packages/versions could be
used:

$ rmadison libdfp1
libdfp1 | 1.0.13-3 | oldstable | ppc64el, s390x
libdfp1 | 1.0.15-2 | stable | amd64, i386, ppc64el, s390x
libdfp1 | 1.0.16-1+b1 | testing | amd64, i386, ppc64el, s390x
libdfp1 | 1.0.16-1+b1 | unstable | amd64, i386, ppc64el, s390x

$ rmadison libdfp1-dbgsym
libdfp1-dbgsym | 1.0.13-3 | oldstable-debug | ppc64el, s390x
libdfp1-dbgsym | 1.0.15-2 | stable-debug | amd64, i386, ppc64el, s390x
libdfp1-dbgsym | 1.0.16-1+b1 | testing-debug | amd64, i386, ppc64el, s390x
libdfp1-dbgsym | 1.0.16-1+b1 | unstable-debug | amd64, i386, ppc64el, s390x

$ rmadison libdfp-dev
libdfp-dev | 1.0.13-3 | oldstable | ppc64el, s390x
libdfp-dev | 1.0.15-2 | stable | amd64, i386, ppc64el, s390x
libdfp-dev | 1.0.16-1+b1 | testing | amd64, i386, ppc64el, s390x
libdfp-dev | 1.0.16-1+b1 | unstable | amd64, i386, ppc64el, s390x

songbird

Re: Decimal Floating Point With GNU/Linux

<87edn91i6l.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25700&group=comp.lang.c#25700

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Decimal Floating Point With GNU/Linux
Date: Sun, 21 May 2023 14:35:46 -0700
Organization: None to speak of
Lines: 29
Message-ID: <87edn91i6l.fsf@nosuchdomain.example.com>
References: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c8d66c7204fd79f543cd5b6a8a9e3465";
logging-data="1874251"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GnX/tQ9azTxwiPAaG4osD"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:nDLO9lUL+MF3iNm1OU49EQhJdFk=
sha1:yg6zsPzZYCrs/geHJQVqn6KILgM=
 by: Keith Thompson - Sun, 21 May 2023 21:35 UTC

LAP <lap@lap.lap> writes:
> There seems to be a dearth of material available on programming
> in the C language with decimal floating point (DECFP).
>
> DECFP was already defined long ago in the IEEE754-2008 standard
> but it seems that it is not extensively used. I wanted to learn
> about DECFP but was able to find little material relevant to the
> C language.
>
> As a result, I wrote a primer covering the rudiments of DECFP
> programming on GNU/Linux with GCC:
>
> http://lapiet.info/gnulinux/decfp/decfp.html
>
> Comments are welcome.

It's probably worth mentioning that the upcoming C23 standard includes
support for decimal floating point as an optional feature.

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3054.pdf
is the latest draft.

Also, I find that the gray background on the web page makes it more
difficult to read.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Will write code for food.
void Void(void) { Void(); } /* The recursive call of the void */

Re: Decimal Floating Point With GNU/Linux

<u4e37r$1pbqv$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25701&group=comp.lang.c#25701

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jmc...@magnetar.jmcunx.com (John McCue)
Newsgroups: comp.lang.c
Subject: Re: Decimal Floating Point With GNU/Linux
Date: Sun, 21 May 2023 21:42:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <u4e37r$1pbqv$1@dont-email.me>
References: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
Reply-To: jmclnx@SPAMisBADgmail.com
Injection-Date: Sun, 21 May 2023 21:42:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e93ca8c624473e5b1fffaceed4f54efb";
logging-data="1879903"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1862Wpjyjup1Uli7haOyJlJ"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.94 (x86_64))
Cancel-Lock: sha1:5vFz/Mhscsh8ZunE7Fh+XaCAW1A=
X-OS-Version: Slackware 15.0 x86_64
 by: John McCue - Sun, 21 May 2023 21:42 UTC

LAP <lap@lap.lap> wrote:
<snip>
>
> As a result, I wrote a primer covering the rudiments of DECFP
> programming on GNU/Linux with GCC:
>
> http://lapiet.info/gnulinux/decfp/decfp.html
>
> Comments are welcome.

For some reason I cannot access the site, I am getting timeouts.
I will try again tomorrow.

--
[t]csh(1) - "An elegant shell, for a more... civilized age."
- Paraphrasing Star Wars

Re: Decimal Floating Point With GNU/Linux

<u4evtr$23469$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25708&group=comp.lang.c#25708

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c
Subject: Re: Decimal Floating Point With GNU/Linux
Date: Mon, 22 May 2023 07:52:01 +0200
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <u4evtr$23469$1@dont-email.me>
References: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 22 May 2023 05:51:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d8527a65ea490069f139d3d1d917d38c";
logging-data="2199753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N6bmT/IPsRYyAU0s1Ax8P7r7GPQM03a8="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:NevLpWR+813X+63+PE3SzFCSshE=
Content-Language: de-DE
In-Reply-To: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com>
 by: Bonita Montero - Mon, 22 May 2023 05:52 UTC

Am 21.05.2023 um 16:31 schrieb LAP:
> There seems to be a dearth of material available on programming
> in the C language with decimal floating point (DECFP).
>
> DECFP was already defined long ago in the IEEE754-2008 standard
> but it seems that it is not extensively used. I wanted to learn
> about DECFP but was able to find little material relevant to the
> C language.
>
> As a result, I wrote a primer covering the rudiments of DECFP
> programming on GNU/Linux with GCC:
>
> http://lapiet.info/gnulinux/decfp/decfp.html
>
> Comments are welcome.
>
>

Decimal floating point operations are used for business-applications.
And C never has been a language for such purposes.

Re: Decimal Floating Point With GNU/Linux

<06fb25d9-51e5-4994-848e-d35686046a8an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=25742&group=comp.lang.c#25742

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:f0f:b0:75a:1d5b:8678 with SMTP id v15-20020a05620a0f0f00b0075a1d5b8678mr4189476qkl.0.1684867744449;
Tue, 23 May 2023 11:49:04 -0700 (PDT)
X-Received: by 2002:a05:6214:b11:b0:61b:5c7c:af11 with SMTP id
u17-20020a0562140b1100b0061b5c7caf11mr2778251qvj.7.1684867744170; Tue, 23 May
2023 11:49:04 -0700 (PDT)
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 23 May 2023 11:49:03 -0700 (PDT)
In-Reply-To: <u4evtr$23469$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=108.45.179.220; posting-account=Ix1u_AoAAAAILVQeRkP2ENwli-Uv6vO8
NNTP-Posting-Host: 108.45.179.220
References: <17612f13cd697a72$8$1662434$565a10f6@news.usenetexpress.com> <u4evtr$23469$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <06fb25d9-51e5-4994-848e-d35686046a8an@googlegroups.com>
Subject: Re: Decimal Floating Point With GNU/Linux
From: jameskuy...@alumni.caltech.edu (james...@alumni.caltech.edu)
Injection-Date: Tue, 23 May 2023 18:49:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: james...@alumni.calt - Tue, 23 May 2023 18:49 UTC

On Monday, May 22, 2023 at 1:54:10 AM UTC-4, Bonita Montero wrote:
> Am 21.05.2023 um 16:31 schrieb LAP:
> > There seems to be a dearth of material available on programming
> > in the C language with decimal floating point (DECFP).
> >
> > DECFP was already defined long ago in the IEEE754-2008 standard
> > but it seems that it is not extensively used. I wanted to learn
> > about DECFP but was able to find little material relevant to the
> > C language.
> >
> > As a result, I wrote a primer covering the rudiments of DECFP
> > programming on GNU/Linux with GCC:
> >
> > http://lapiet.info/gnulinux/decfp/decfp.html
> >
> > Comments are welcome.
> >
> >
> Decimal floating point operations are used for business-applications.
> And C never has been a language for such purposes.

It has never been the most popular language for such purposes, but
there's a long history of it being used for such purposes. Most
importantly, there are enough business-oriented users that they put
together a proposal to add support for Decimal Floating Point to the C
standard. That proposal was accepted, and the required changes have
been made. If you look at how many changes were made to the standard
in order to add that feature, you'll realize that the committee would not
have put in that much work if they didn't believe there was a real demand
for it.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor