expTime is defined as a float attribute, so 1/50 is stored as 0.0199999996.

I convert to a Rational for convenience of displaying this value, but Imf::Rational(0.0199999996) results in 1/51 - which is clearly a worse approximation that 1/50.

Any ideas?

Phil
--
Phil Barrett
FilmLight

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to