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

classic Classic list List threaded Threaded
1 message Options
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

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

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

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users