summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2022-01-23 15:48:03 +0100
committerMarti Maria <marti.maria@littlecms.com>2022-01-23 15:48:03 +0100
commitca7d833d54c164311d32cf842b6e08216cf1467c (patch)
tree24d31630d4bdb0614eea0c790ee67fea53372d09 /include
parentda3da4bca90ef9ad10f9e2e5a3452a680a66c979 (diff)
downloadlcms2-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