view modules/printf-frexp @ 16753:0f9a8ebc12c1

New module 'logbf'. * lib/math.in.h (logbf): New declaration. * lib/logbf.c: New file. * m4/logbf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether logbf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOGBF, HAVE_LOGBF, REPLACE_LOGBF. * modules/math (Makefile.am): Substitute GNULIB_LOGBF, HAVE_LOGBF, REPLACE_LOGBF. * modules/logbf: New file. * tests/test-math-c++.cc: Check the declaration of logbf. * doc/posix-functions/logbf.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Tue, 03 Apr 2012 04:44:59 +0200
parents 18ea6ab4e81d
children
line wrap: on
line source

Description:
printf_frexp() function: split a double into fraction and mantissa, for
hexadecimal printf, without requiring libm.

Files:
lib/printf-frexp.h
lib/printf-frexp.c
m4/printf-frexp.m4
m4/frexp.m4

Depends-on:

configure.ac:
gl_FUNC_PRINTF_FREXP

Makefile.am:
lib_SOURCES += printf-frexp.c

Include:
"printf-frexp.h"

License:
LGPL

Maintainer:
Bruno Haible