Hello,
I would like to know what this figure tells me? I´ve seen it quite often recently in C++ code and I would like to know what it defines.
1e-18 or 1e16
Thanks ia!
Sam
Quote:Original post by Katachi
Is that an ieee standard?
As far as I know, the IEEE standard only controls how the floating point numbers are stored internally, not how they are displayed, which may vary depending on the locale used. It is, however a common way to display them.
I recently had trouble interfacing with a Fortran program, which displayed them differently, forcing me to manually parse the numbers in the files it output.
Quote:Original post by FrunyQuote:Original post by Katachi
Is that an ieee standard?
As far as I know, the IEEE standard only controls how the floating point numbers are stored internally, not how they are displayed, which may vary depending on the locale used. It is, however a common way to display them.
I recently had trouble interfacing with a Fortran program, which displayed them differently, forcing me to manually parse the numbers in the files it output.
hmm, I thought the IEEE standard would define how the FPU would interpret them and that should result in equal results. But I am not sure, could be the storage only too.
But when it´s common (and it appears to be so) to use it, I´ll be using it too. :)
thx!
Quote:Original post by Katachi
hmm, I thought the IEEE standard would define how the FPU would interpret them and that should result in equal results.
The FPU isn't responsible for the display of floating-point numbers as human-readable text.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement