[Dcmlib] not using double for high precision

Dennis hudr at hotmail.com
Mon Mar 5 21:24:19 CET 2007


Hi,
 
In gdcm::File, float File::GetXOrigin() will lost some precision. I think it
should provide as: double File::GetXOrigin()...
for example, if -13.1 is converted to float in GetXOrigin(), actually it
will return as -13.1000000381470.
 
 
Bests,
 
Dennis
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20070305/e2ee6658/attachment.html>


More information about the Dcmlib mailing list