On Wed, Dec 5, 2018 at 7:56 AM Samuel Iglesias Gonsálvez
<sigles...@igalia.com> wrote:
>
> Signed-off-by: Samuel Iglesias Gonsálvez <sigles...@igalia.com>
> ---
>  src/util/Makefile.sources |   2 +
>  src/util/double.c         | 197 ++++++++++++++++++++++++++++++++++++++
>  src/util/double.h         |  46 +++++++++
>  src/util/meson.build      |   2 +
>  4 files changed, 247 insertions(+)
>  create mode 100644 src/util/double.c
>  create mode 100644 src/util/double.h

Why do we need software routines for this? Couldn't we set/reset the
rounding mode (fegetround/fegetround) around a double -> float
conversion?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to