Re: Problem in Float Arithmetic
- From: "David Webber" <dave@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 5 Jul 2008 09:45:10 +0100
"Doug Harrison [MVP]" <dsh@xxxxxxxx> wrote in message news:j17t64pamsceu18q7mvlra7t9tdqq09sie@xxxxxxxxxx
Well actually my "lengthy treatise" was very precisely relevant to the OP's
problem and adding integers cast to double precision isn't.
Unless I missed it, you haven't replied to the OP; you've only replied to
me....
My apologies if you thought that my post was intended only for you. I'll be careful where I jump into a topic in future. But the topic was floating point subtraction errors, and illustrated the problems you run into if you consider floating point numbers to be in any sense "exact".
My advice continues to be not to use the words "floating point" and "exact" in the same breath, and I really don't see anything to be gained in continuing to discuss the very few operations on very few floating point numbers which can be performed without error propagation.
And life is certainly too short for digressing as far as discussing your statements about what I "must think" about integer types.
If you had said "in general" instead of"never", I wouldn't have answered your reply to me in the first place.<
My misfortune, then.
Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mozartists/mailinglist.htm
.
- Follow-Ups:
- Re: Problem in Float Arithmetic
- From: Doug Harrison [MVP]
- Re: Problem in Float Arithmetic
- References:
- Re: Problem in Float Arithmetic
- From: David Webber
- Re: Problem in Float Arithmetic
- From: Doug Harrison [MVP]
- Re: Problem in Float Arithmetic
- From: David Webber
- Re: Problem in Float Arithmetic
- From: Doug Harrison [MVP]
- Re: Problem in Float Arithmetic
- From: David Webber
- Re: Problem in Float Arithmetic
- From: Doug Harrison [MVP]
- Re: Problem in Float Arithmetic
- Prev by Date: Re: Animated GIF creation library
- Next by Date: Re: Animated GIF creation library
- Previous by thread: Re: Problem in Float Arithmetic
- Next by thread: Re: Problem in Float Arithmetic
- Index(es):
Relevant Pages
|