[Scilab-users] Fix of bug #4953 (behavior of clean() with %inf)

Stéphane Mottelet stephane.mottelet at utc.fr
Thu Jun 28 17:41:01 CEST 2018


Hello all,

A fix proposal is under review @ 
https://codereview.scilab.org/#/c/20204/2, in order to consider the 
actual behavior of clean() when the argument has some infinite values:

In Scilab 6.0.1:


--> clean([%inf 1])
  ans  =

    0.   0.

By a argument of continuity, since

--> clean([1.79e308 1])
  ans  =

    1.79D+308   0.

the fixed behavior would be

--> clean([%inf 1])
  ans  =

    Inf   0.

Please give your opinion if you feel concerned.

S.

--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet




More information about the users mailing list