ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: BogdanH on May 11, 2011, 02:49:18 AM

Title: Aperture value presission
Post by: BogdanH on May 11, 2011, 02:49:18 AM
Hi Phil,
On Canon raw file I tried:
exiftool -MaxAperture=3.5 my.cr2
-and instead of 3.5, value 3.6 was written (there's no problem if I set value to i.e 2.8 ).

Bogdan
Title: Re: Aperture value presission
Post by: Phil Harvey on May 11, 2011, 07:22:18 AM
Hi Bogdan,

This value is not stored as a simple floating point number, which means that some values can not be represented accurately.  In these cases, the closest representable value is written instead.

- Phil