Skip to content

tif_dirwrite.c: bugfix DoubleToSrational() for plain signed integers

tif_dirwrite.c: bugfix DoubleToSrational(), which returns plain signed interger values always as unsigned rationals.
Furthermore, cast of return values should be int32 instead of uint32.
Added a test into rational_precision2double.c for "-1.0" and some editorials in tif_dirwrite.c.
(code is related to 6df997c7 changes).

Merge request reports