view modules/truncl @ 15260:84c3ed33329f

xstrtold: Move AC_LIBOBJ invocations to module description. * m4/xstrtod.m4 (gl_XSTRTOLD): Remove AC_LIBOBJ invocation. * modules/xstrtold (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 03:31:49 +0200
parents 2917eb19f982
children 23d150bba2eb
line wrap: on
line source

Description:
truncl() function: round towards zero.

Files:
lib/truncl.c
lib/trunc.c
m4/truncl.m4

Depends-on:
math
extensions
float           [test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1]

configure.ac:
gl_FUNC_TRUNCL
if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then
  AC_LIBOBJ([truncl])
fi
gl_MATH_MODULE_INDICATOR([truncl])

Makefile.am:

Include:
<math.h>

Link:
$(TRUNCL_LIBM)

License:
LGPL

Maintainer:
Bruno Haible