On Sun, 7 Aug 2011 19:22:06 +0200 Henri Verbeet <hverb...@gmail.com> wrote:
> On 7 August 2011 19:03, Lauri Kasanen <c...@gmx.com> wrote: > > + /* floor(a + 0.5) */ > Why not use RNDNE? I feel it would cause more "wrong" results, with two numbers resolving to the same (3.5 = 4.5 = 4). Of course for best rounding one could use Wine's solution, floor(abs(a) + 0.5) * sign(a), but it looked to me like one could only have one temp, and that solution would require two. - Lauri _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev