Hash :
db9e5384
Author :
Date :
2011-10-10T17:17:26
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.
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