[Scilab-users] Underflow [was: (no subject)]

Dang, Christophe Christophe.Dang at sidel.com
Thu Apr 25 09:02:44 CEST 2013


Hello, 

De la part de Renzo Zini
Envoyé : mercredi 24 avril 2013 15:58

> ->format(25) )
>
> ->155568095557812224/17
> ans  =
> 
>    9151064444577190.  
> 
> and I know this is wrong because 17 does not divide that number

It seems you have an underflow.

The result has 16 digits,
and the mantissa with double precision floating points has an epsilon
of 2^-52 which is about 10^-16 (see %eps).

You can read Michaël Baudin, Scilab is not naive (2010)

http://www.scilab.org/content/download/249/1710/file/scilabisnotnaive.pdf

-- 
Christophe Dang Ngoc Chan
Mechanical calculation engineer
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the users mailing list