msprintf(*, %nan) doesn't return Nan
Reported by Vincent Azzopardi
BUG DESCRIPTION:
----------------
The "msprintf" function returns the wrong output when the input data is NaN.
In Scilab 6.0.1, msprintf(*, %nan) returns Nan.
Some examples of the bug in Scilab 6.0.2:
msprintf("%f", %nan) returns 0.000000
msprintf("%d", %nan) returns 142591640
msprintf("%g", %nan) returns 7.04496e-316
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
msprintf("%f", %nan)
msprintf("%d", %nan)
msprintf("%g", %nan)
OTHER INFORMATION:
------------------