This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Realize that strtod and similar functions nowadays correctly round input values. This means you'll guaranteed to get the floating point number closest to the input number. If you do your own computation using a pow() function, you won't get last-bit accuracy.
Yours, Daniel
-- Done: Arc-Bar-Cav-Rog-Sam-Tou-Val-Wiz To go: Hea-Kni-Mon-Pri-Ran
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |