view modules/printf-frexpl @ 18513:32db4d32dbf9

Relicense some modules under LGPLv2+. lib/float+.h is already under LGPLv2+ since 2007-07-13, per modules/vasnprintf. Paolo Bonzini's approval for lib/frexp.c and lib/frexpl.c is in http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00074.html. All other significant changes to the files in lib/ of these modules are from me. * modules/memcmp2 (License): Change to LGPLv2+. * modules/amemxfrm (License): Likewise. * modules/fpieee (License): Likewise. * modules/fpucw (License): Likewise. * modules/frexp-nolibm (License): Likewise. * modules/frexpl-nolibm (License): Likewise. * modules/printf-frexp (License): Likewise. * modules/printf-frexpl (License): Likewise. * modules/printf-safe (License): Likewise. * modules/signbit (License): Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 13 Nov 2016 03:58:45 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

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:
LGPLv2+

Maintainer:
all