Re: [Lcms-user] Unexpected gray to RGB result
An ICC-based CMM for color management
Brought to you by:
mm2
From: Robin W. <rob...@ar...> - 2022-11-30 10:52:01
|
On 30/11/2022 10:01, Ralf Junker wrote: > https://github.com/mm2/Little-CMS/blob/caab4c07e60022a0f776b543eaa30785e2bb42ed/include/lcms2.h#L280-L283 > > I also noticed that src/cmscam02.c contains the floating-point literal > 3.141592654 three times, all of which could probably be replaced by M_PI > for clarity, simplicity and accuracy. This would also guard us against the possibility of PI changing in future. Robin |