[Scilab-users] ?==?utf-8?q? ?==?utf-8?q? [EXTERNAL] Re: Whay False
Antoine Monmayrant
antoine.monmayrant at laas.fr
Tue Aug 23 14:59:08 CEST 2016
Hello Paul,
We all make the same mistake at some point.
I did it few years ago and someone mentioned this article: "What every computer scientist should know about floating-point arithmetic" by David Goldberg.
It's available online, for example here: http://perso.ens-lyon.fr/jean-michel.muller/goldberg.pdf
I think it's worth reading it.
Cheers,
Antoine
Le Mardi, Août 23, 2016 14:43 CEST, "Carrico, Paul" <paul.carrico at esterline.com> a écrit:
> I've had like a newbie ....
>
> Thanks for the lesson :)
>
> EXPORT CONTROL :
> Cet email ne contient pas de données techniques
> This email does not contain technical data
>
> De : users [mailto:users-bounces at lists.scilab.org] De la part de Samuel Gougeon
> Envoyé : mardi 23 août 2016 14:27
> À : Users mailing list for Scilab
> Objet : [EXTERNAL] Re: [Scilab-users] Whay False
>
> Hello,
>
> Le 23/08/2016 13:56, Carrico, Paul a écrit :
> Hi All,
>
> I spent a lot of time in looking for an issue in my code ; finally I found the origin but I do not understand why ... probably a very basic reason :|
>
> Any suggestion regarding the code here after ?
> --> modulo(2.05, 2) - 0.05
> ans =
>
> -1.804D-16
>
> This is a classical result in Numerical computing.
More information about the users
mailing list