Emmanuele Bassi c387513a5f color: Fix HLS-to-RGB conversion
Apparently, on 64bit systems the floating point noise is enough
to screw up the float-to-int truncation.

The solution is to round up by 0.5 and then use floorf(). This
gives predictable and correct results on both 32bit and 64bit
systems.
2009-10-26 16:29:31 +00:00
..
2009-10-23 16:44:28 +01:00
2009-10-14 11:31:26 +01:00
2009-10-14 11:31:26 +01:00
2009-07-10 11:38:42 +01:00
2009-07-10 11:38:42 +01:00
2009-10-19 12:01:38 +01:00
2009-10-26 11:51:30 +00:00
2009-10-14 11:31:26 +01:00
2009-10-16 15:55:05 +01:00
2009-10-19 11:45:15 +01:00