|
![](/i/fill.gif) |
Le 23/03/2010 15:24, clipka nous fit lire :
> Apparently, something in the expression
>
> (unsigned char) floor (clip(#NaN, 0.0f, 1.0f) * 255.0)
>
> is compiler-dependent, with Microsoft and Intel compilers returning 0
> but g++ returning 255.
Have you tried to remove "-fastmath" (sp?) from the compilation option ?
It might help on the issue.
Post a reply to this message
|
![](/i/fill.gif) |