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


Groups > comp.lang.c > #123369

Re: [computerphile] Why can't floating point do money?

From "F. Russell" <fr@random.info>
Newsgroups comp.lang.c
Subject Re: [computerphile] Why can't floating point do money?
Date 2017-11-23 13:11 +0000
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <ov6hef02etp@news3.newsguy.com> (permalink)
References <c55dca02-2d15-4704-bc24-9b695e879327@googlegroups.com>

Show all headers | View raw


On Wed, 22 Nov 2017 09:39:20 -0800, luser droog wrote:

> https://www.youtube.com/watch?v=PZRI1IfStY0
>

It is incorrect to say that the digital floating point format
cannot "do money."  The inability to "do money" applies only
to the *binary* floating point format.

However, the *decimal* floating point format (DFP), which is
based on powers of 10 rather than 2, can perform financial
calculations with perfect accuracy.  DFP is codified in the
IEEE 754-2008 international standard and this standard is
already implemented in hardware on the IBM Power processors.
Intel hardware is sadly way behind the times.

But software DFP libraries exist for Intel and other "antiquated"
systems (C libraries of course).

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


Thread

[computerphile] Why can't floating point do money? luser droog <luser.droog@gmail.com> - 2017-11-22 09:39 -0800
  Re: [computerphile] Why can't floating point do money? "F. Russell" <fr@random.info> - 2017-11-23 13:11 +0000
    Re: [computerphile] Why can't floating point do money? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-11-23 05:35 -0800
    Re: [computerphile] Why can't floating point do money? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-11-23 13:47 +0000
    Re: [computerphile] Why can't floating point do money? "F. Russell" <fr@random.info> - 2017-11-23 15:20 +0000
    Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-24 00:53 -0600
      Re: [computerphile] Why can't floating point do money? supercat@casperkitty.com - 2017-11-24 14:16 -0800
        Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-24 23:50 -0600
    Re: [computerphile] Why can't floating point do money? Noob <root@127.0.0.1> - 2017-11-24 09:44 +0100
      Re: [computerphile] Why can't floating point do money? Jerry Stuckle <jstucklex@attglobal.net> - 2017-11-24 09:18 -0500
        Re: [computerphile] Why can't floating point do money? Noob <root@127.0.0.1> - 2017-11-29 11:50 +0100
          Re: Toy code for currency handling Noob <root@127.0.0.1> - 2017-11-29 16:13 +0100
            Re: Toy code for currency handling Noob <root@127.0.0.1> - 2017-11-29 16:53 +0100
            Re: Toy code for currency handling Robert Wessel <robertwessel2@yahoo.com> - 2017-11-29 10:42 -0600
            Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-11-29 09:25 -0800
              Re: Toy code for currency handling Noob <root@127.0.0.1> - 2017-11-29 19:38 +0100
                Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-11-29 11:03 -0800
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-11-29 19:14 +0000
                Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-11-29 11:31 -0800
                Re: Toy code for currency handling Robert Wessel <robertwessel2@yahoo.com> - 2017-12-01 00:04 -0600
                Re: Toy code for currency handling fr314159@gmail.com - 2017-12-01 12:41 -0800
                Re: Toy code for currency handling supercat@casperkitty.com - 2017-12-01 15:24 -0800
                Re: Toy code for currency handling Noob <root@127.0.0.1> - 2017-12-03 18:08 +0100
                Re: Toy code for currency handling fr314159@gmail.com - 2017-12-04 10:06 -0800
                Re: Toy code for currency handling jameskuyper@verizon.net - 2017-12-04 10:19 -0800
                Re: Toy code for currency handling fr314159@gmail.com - 2017-12-04 11:35 -0800
                Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-12-04 11:56 -0800
                Re: Toy code for currency handling Jerry Stuckle <jstucklex@attglobal.net> - 2017-12-04 15:01 -0500
                Re: Toy code for currency handling "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-12-05 07:14 +0100
                Re: Toy code for currency handling David Brown <david.brown@hesbynett.no> - 2017-12-05 09:18 +0100
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-12-05 11:31 +0000
                Re: Toy code for currency handling David Brown <david.brown@hesbynett.no> - 2017-12-05 14:13 +0100
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-12-05 14:39 +0000
                Re: Toy code for currency handling Melzzzzz <Melzzzzz@zzzzz.com> - 2017-12-05 15:00 +0000
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-12-05 15:19 +0000
                Re: Toy code for currency handling Melzzzzz <mel@zzzzz.com> - 2017-12-05 16:31 +0100
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-12-05 16:07 +0000
                Re: Toy code for currency handling scott@slp53.sl.home (Scott Lurndal) - 2017-12-05 16:14 +0000
                Re: Toy code for currency handling David Brown <david.brown@hesbynett.no> - 2017-12-05 17:28 +0100
                Re: Toy code for currency handling David Brown <david.brown@hesbynett.no> - 2017-12-05 16:25 +0100
                Re: Toy code for currency handling already5chosen@yahoo.com - 2017-12-05 08:33 -0800
                Re: Toy code for currency handling bartc <bc@freeuk.com> - 2017-12-05 16:42 +0000
                Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-12-05 09:39 -0800
                Re: Toy code for currency handling Jerry Stuckle <jstucklex@attglobal.net> - 2017-12-05 08:38 -0500
                Re: Toy code for currency handling "James R. Kuyper" <jameskuyper@verizon.net> - 2017-12-04 15:16 -0500
                Re: Toy code for currency handling asetofsymbols@gmail.com - 2017-12-05 02:56 -0800
                Re: Toy code for currency handling Keith Thompson <kst-u@mib.org> - 2017-12-04 11:04 -0800
                Re: Toy code for currency handling David Brown <david.brown@hesbynett.no> - 2017-12-05 09:33 +0100
                Re: Toy code for currency handling Jerry Stuckle <jstucklex@attglobal.net> - 2017-12-04 14:56 -0500
                Re: Toy code for currency handling Robert Wessel <robertwessel2@yahoo.com> - 2017-12-04 20:44 -0600
          Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-29 10:51 -0600
          Re: [computerphile] Why can't floating point do money? Jerry Stuckle <jstucklex@attglobal.net> - 2017-11-30 16:18 -0500
            Re: [computerphile] Why can't floating point do money? scott@slp53.sl.home (Scott Lurndal) - 2017-11-30 22:13 +0000
      Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-24 10:19 -0600
        Re: [computerphile] Why can't floating point do money? Spiros Bousbouras <spibou@gmail.com> - 2017-11-24 16:43 +0000
          Re: [computerphile] Why can't floating point do money? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-11-24 08:53 -0800
          Re: [computerphile] Why can't floating point do money? bert <bert.hutchings@btinternet.com> - 2017-11-24 08:57 -0800
        Re: [computerphile] Why can't floating point do money? bartc <bc@freeuk.com> - 2017-11-24 16:57 +0000
          Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-24 23:35 -0600
            Re: [computerphile] Why can't floating point do money? Melzzzzz <Melzzzzz@zzzzz.com> - 2017-11-25 05:59 +0000
              Re: [computerphile] Why can't floating point do money? supercat@casperkitty.com - 2017-11-27 10:14 -0800
              Re: [computerphile] Why can't floating point do money? Robert Wessel <robertwessel2@yahoo.com> - 2017-11-30 23:56 -0600

csiph-web