[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#237373: libc6-dev: support for fegetprec / fesetprec to control the dynamic precision modes

Package: libc6-dev
Version: 2.3.2.ds1-11
Severity: wishlist

The WG14 N752 C9X revision proposal contained functions for
controlling the dynamic precision modes:

       The fegetprec and fesetprec functions provide control of
       dynamic precision modes.

       Each macro


       is defined if and only if the implementation supports the
       dynamic precision by means of the functions in 7.6.z.  The
       defined macros expand to integral constant expressions whose
       values are distinct.

You can see http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n752.htm
for more information. Unfortunately, this was dropped. But some
vendors implement them anyway. I'd like them to be implemented in
glibc too. If these functions and macros became a de facto standard,
this would be very useful when one wants double-precision rounding
on x86 processors. The problem with fpu_control.h features is that
they are specific to glibc.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.18-newpmac
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1

Versions of packages libc6-dev depends on:
ii  libc6                2.3.2.ds1-11        GNU C Library: Shared libraries an
ii  linux-kernel-headers 2.5.999-test7-bk-15 Linux Kernel Headers for developme

-- no debconf information

Reply to: