[PATCH 2/3] winex11: Implement TINN algorithm. (try 3)

Vitaly Budovski vbudovski at gmail.com
Wed May 9 10:55:36 CDT 2007


Dmitry Timoshkov wrote:
> "Vitaly Budovski" <vbudovski at gmail.com> wrote:
>
>> +struct tinn
>> +{
>> +    /* Pointer to an element in the list. */
>> +    const RGBQUAD *data;
>> +    /* Distance from the reference element. */
>> +    float distance;
>> +};
>
> Vitaly, why do you keep resending the same patch which uses float
> values internally? Again, float neither doesn't allow you to process
> larger values, nor is acceptable for speed or adds more flexibility.
>

I actually discussed this with Alexandre on irc and he said that it was 
okay to leave it like that. Please show me how an unsigned int can 
represent values greater than 2^32. This is why a float is used.



More information about the wine-devel mailing list