The msscanf / msprintf functions do not support the %x format for hexadecimals o
Reported by Michael BAUDIN
-- Bug description --
The msscanf / msprintf functions do not support the %x format for hexadecimals of doubles.
Hence, the sequence of C code
printed above might be runnable in Scilab:
-->x = sscanf("400921fb54442d18", "%02X") // Does not work yet!!!
ans =
3.1415927
The trouble here is that the previous statement already works in Scilab, but with a different behavior :
-->x = sscanf("400921fb54442d18", "%02X")
x =
64.
May be the format "%02X" should be changed to something different, so that no back-compatibility issue is raised.
This bug report is a follow-up to the bug http://bugzilla.scilab.org/show_bug.cgi?id=8893.
-- Scilab error message --
-- How to reproduce the bug --