[Mesa-dev] [PATCH] radv/ac: set no signed zero fp math on radv

Roland Mainz roland.mainz at nrubsig.org
Tue Apr 25 22:24:51 UTC 2017


On Tue, Apr 25, 2017 at 9:42 PM, Bas Nieuwenhuizen
<bas at basnieuwenhuizen.nl> wrote:
> The Vulkan spec has
>
> " Positive and negative infinities and positive and negative zeros are
> generated as dictated by IEEE
> 754, but subject to the precisions allowed in the following table."
>
> Sounds like we may need signed zero?

Yes, usually you need it, for example in cases where you want to
determinate from which direction something "folded" to zero.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)


More information about the mesa-dev mailing list