Opened 17 years ago
Last modified 17 years ago
#1464 closed defect (fixed)
CPLAtof() gives wrong results — at Initial Version
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | highest | Milestone: | 1.4.1 |
Component: | default | Version: | 1.4.0 |
Severity: | blocker | Keywords: | |
Cc: |
Description
This program: #include "cpl_conv.h" int main() { printf( "%g\n", CPLAtof( "0.9996" ) ); } Produces the result: 0.90996. This becomes quite a pressing issue as we move to using this function widely in the code.
Note:
See TracTickets
for help on using tickets.