%eps ?!
Frédéric Mabille
mabille at supagro.inra.fr
Wed Dec 15 14:47:08 CET 2010
Hi,
During the computation of my program, my function "if" produce a strange result.
I fact, after many investigations, I have observed a very surprising result.
for i = 1:10
test = .4*i - 1.2 ;
if test == 0 then ...
But when i = 3, scilab give me : test = %eps = -2.220D-16 <> 0 !!!
It is really awkward.
Could someone have a simple solution ?
Thx
Frédéric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20101215/7d05191e/attachment.htm>
More information about the users
mailing list