oar-team / batsim

Batsim: Infrastructure simulator for job and I/O scheduling
GNU Lesser General Public License v3.0
30 stars 15 forks source link

Fix precision loss on consumed_energy.csv #71

Closed JRodez closed 1 month ago

JRodez commented 1 month ago

Fix precision loss in consumed_energy.csv Formatting with C99 "%g" cuts by 2 the precision of doubles, which is used to store dates.
Now "%lf" is used instead, which is the standard format for doubles.

Checklist

Branch name.

Branch content.

mpoquet commented 1 month ago

Thanks! Merged in f225198.