NV5 GEOSPATIAL SOFTWARE
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
|
X
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Prev
Go to previous topic
Next
Go to next topic
Last Post 17 Nov 2011 04:14 AM by
anon
READ_ASCII precision of floating-point values
2 Replies
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
anon
New Member
Posts:
17 Nov 2011 04:14 AM
Hello, I read data from an ASCII file using aa=READ_ASCII(fn, template=sTemplate) the first line of the file is 632584.254 93979.473 3089.750 but IDL printf with float format code produces 632584.250000 93979.476563 3089.750000 So, what's wrong here? Is there a way to force IDL to use the full float precision when reading ASCII files? Or is it my mistake? best regards Leo
Deleted User
New Member
Posts:
17 Nov 2011 10:28 AM
"Mistake" is too harsh a word. Let's say it is a "misunderstanding" of the way computers store numbers. You may find some enlightenment in this article:
http://www.idlcoyote.com/.../sky_is_falling.html
Deleted User
New Member
Posts:
18 Nov 2011 02:10 AM
Haha.. Good reading. Thanks a lot for this hint, that's exactly what I need! Sorry for the post, though...
You are not authorized to post a reply.
Forum Groups & Categories
--NV5 Geospatial Software
----Licensing & Installation
----General Questions
Products
--ENVI
----ENVI
----ENVI LiDAR
----ENVI SARscape
--IDL
--Enterprise
----ENVI Server
Forums
Products
IDL