[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Is this a numerical problem?

**From**: |
Jordi Gutiérrez Hermoso |

**Subject**: |
Re: Is this a numerical problem? |

**Date**: |
Thu, 19 Aug 2010 10:35:42 -0500 |

On 19 August 2010 10:17, Ozzy Lash <address@hidden> wrote:
>* 2010/8/19 Jordi Gutiérrez Hermoso <address@hidden>:*
>*>*
>*> there is quite possibly at least a cosmetic bug here in*
>*> how Octave is representing a number, namely, it doesn't display the*
>*> same thing Matlab does.*
>
>* I think, reading the original e-mail, that he is getting the same*
>* result with Matlab R2009a.*
I believe the inconsistency is how 0.999995 is displayed in each with
"format short". Octave displays 0.99999 and Matlab displays 1.0000,
from what I can read in the bug report.
This may well be a gcc issue. I've encountered other people who have
been unhappy with how gcc's stdlib handles rounding for some numbers
such as these.

**Re: Is this a numerical problem?**, *(continued)*
**Re: Is this a numerical problem?**, *Lukas Reichlin*, `2010/08/19`
**Re: Is this a numerical problem?**, *Sergei Steshenko*, `2010/08/19`
**Re: Is this a numerical problem?**, *Jaroslav Hajek*, `2010/08/19`
**Re: Is this a numerical problem?**, *Miguel Bazdresch*, `2010/08/19`
**Re: Is this a numerical problem?**, *Lukas Reichlin*, `2010/08/19`
**Re: Is this a numerical problem?**, *Jaroslav Hajek*, `2010/08/19`
**Re: Is this a numerical problem?**, *Lukas Reichlin*, `2010/08/19`

**Re: Is this a numerical problem?**, *George Barrick*, `2010/08/19`
**Re: Is this a numerical problem?**, *Jordi Gutiérrez Hermoso*, `2010/08/19`
**Re: Is this a numerical problem?**, *Ozzy Lash*, `2010/08/19`
**Re: Is this a numerical problem?**,
*Jordi Gutiérrez Hermoso* **<=**
**Re: Is this a numerical problem?**, *Judd Storrs*, `2010/08/19`
**Re: Is this a numerical problem?**, *Jordi Gutiérrez Hermoso*, `2010/08/19`
**Re: Is this a numerical problem?**, *Lukas Reichlin*, `2010/08/19`
**Re: Is this a numerical problem?**, *Judd Storrs*, `2010/08/19`
**Re: Is this a numerical problem?**, *Jaroslav Hajek*, `2010/08/19`
**Re: Is this a numerical problem?**, *Judd Storrs*, `2010/08/19`

**Re: Is this a numerical problem?**, *George Barrick*, `2010/08/19`