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


Groups > sci.physics > #532854

Re: Floating Point Enigma - Please Solve

From Fabian Russell <root@localhost.localdomain>
Newsgroups sci.physics
Subject Re: Floating Point Enigma - Please Solve
Date 2015-11-13 22:04 +0000
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <pan.2015.11.13.22.04.15@localhost.localdomain> (permalink)
References <pan.2015.11.13.19.43.38@localhost.localdomain> <bc46e27b-d106-41e5-b946-a6db0f7ad771@googlegroups.com>

Show all headers | View raw


On Fri, 13 Nov 2015 13:33:45 -0800, Double-A wrote:

> 
> 
> I wrote an amortization application in Quick Basic ...
> Also I noticed other amortization schedule applications
> being sold would occasionally output one penny errors
> in their schedules.  These could add up larger errors
> in the totals.
>

Amortization is a good example because it involves interest
rate calculations, and these calculations are notorious
for CATASTROPHIC CANCELLATION.

Ha, ha!  The wise-ass dumb-fscks on this group wouldn't
know catastrophic cancellation from a hole in the ground.

Usually, the precision of double floating point is sufficient
to nullify somewhat the errors resulting from catastrophic
cancellation but certainly not always.  Caution is always
advised.

The C programming language has a special function, called
log1p(), that is specifically designed for safe financial
interest, and other, calculations.

But don't ask the wise-ass dumb-fscks on this group.  They'll
claim that it's all nonsense and those lost pennies will keep
adding up.

Back to sci.physics | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 19:43 +0000
  Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-13 19:59 +0000
    Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 20:16 +0000
      Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-13 21:02 +0000
        Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 22:32 +0000
          Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-13 23:32 +0000
            Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 23:52 +0000
              Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-14 00:06 +0000
  Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 21:14 +0000
    Re: Floating Point Enigma - Please Solve noTthaTguY <abu.kuanysh05@gmail.com> - 2015-11-13 13:18 -0800
    Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-13 23:33 +0000
  Re: Floating Point Enigma - Please Solve Double-A <double-a3@hush.com> - 2015-11-13 13:33 -0800
    Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 22:04 +0000
      Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-13 23:35 +0000
        Re: Floating Point Enigma - Please Solve Fabian Russell <root@localhost.localdomain> - 2015-11-13 23:54 +0000
          Re: Floating Point Enigma - Please Solve jimp@specsol.spam.sux.com - 2015-11-14 00:15 +0000
  Re: IEEE754 compliance is the _default_. Fabian Russell <root@localhost.localdomain> - 2015-11-14 02:08 +0000
    Re: IEEE754 compliance is the _default_. GreyCloud <cumulus@mist.com> - 2015-11-13 19:30 -0700

csiph-web