1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00
Files
gnulib/modules/printf-frexpl
Bruno Haible db9e538477 printf-frexpl: Simplify for platforms where 'long double' == 'double'.
* lib/printf-frexpl.c: Include <config.h>.
(printf_frexpl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New function.
* lib/printf-frexp.c [!USE_LONG_DOUBLE]: Don't include <config.h> a
second time.
* m4/printf-frexpl.m4 (gl_FUNC_PRINTF_FREXPL): Require
gl_LONG_DOUBLE_VS_DOUBLE.
* modules/printf-frexpl (Depends-on): Add printf-frexp. Update
conditions.
2011-10-10 17:17:26 +02:00

34 lines
653 B
Plaintext

Description:
printf_frexpl() function: split a long double into fraction and mantissa,
for hexadecimal printf, without requiring libm.
Files:
lib/printf-frexpl.h
lib/printf-frexpl.c
lib/printf-frexp.c
m4/printf-frexpl.m4
m4/frexpl.m4
m4/ldexpl.m4
Depends-on:
printf-frexp [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
math [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
fpucw [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_PRINTF_FREXPL
Makefile.am:
lib_SOURCES += printf-frexpl.c
Include:
"printf-frexpl.h"
License:
LGPL
Maintainer:
Bruno Haible