logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

_TIFFauxiliary.3tiff

Author

       LibTIFF contributors

Description

_TIFFClampDoubleToUInt32() clamps double values into the range of uint32_t (i.e. 0 .. 0xFFFFFFFF)

       _TIFFMultiply32()  and  _TIFFMultiply64() checks for an integer overflow of the multiplication result and
       return the multiplication result or 0 if an overflow would happen.  The string where is  printed  in  the
       error message in case an overflow happens and can be used to indicate where the function was called.

Name

       _TIFFauxiliary - auxiliary functions

See Also

libtiff (3tiff),

Synopsis

          #include <tiffio.h>

       uint32_t_TIFFClampDoubleToUInt32(doubleval)uint32_t_TIFFMultiply32(TIFF*tif,uint32_tfirst,uint32_tsecond,constchar*where)uint64_t_TIFFMultiply64(TIFF*tif,uint64_tfirst,uint64_tsecond,constchar*where)

See Also