diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-01-23 15:48:03 +0100 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2022-01-23 15:48:03 +0100 |
commit | ca7d833d54c164311d32cf842b6e08216cf1467c (patch) | |
tree | 24d31630d4bdb0614eea0c790ee67fea53372d09 /include | |
parent | da3da4bca90ef9ad10f9e2e5a3452a680a66c979 (diff) | |
download | lcms2-ca7d833d54c164311d32cf842b6e08216cf1467c.tar.gz |
keep an eye to the accuracy
In[0] + In[1] + In[2] may overflow, (cmsFloat64Number) In[0] + In[1] + In[2] is safe.
Same on promotion to double before multiplication.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions