Hash :
d171b945
Author :
Date :
2024-12-27T23:14:22
Rename module math to math-h. * modules/math-h: Renamed from modules/math. * modules/math-h-tests: Renamed from modules/math-tests. * modules/math-h-c++-tests: Renamed from modules/math-c++-tests. * tests/test-math-h.c: Renamed from tests/test-math.c. * tests/test-math-h-c++.cc: Renamed from tests/test-math-c++.cc. * tests/test-math-h-c++2.cc: Renamed from tests/test-math-c++2.cc. * doc/posix-headers/math.texi: Update. * modules/* (Depends-on): Update. * modules/math: New file.
Description:
truncf() function: round towards zero.
Files:
lib/truncf.c
lib/trunc.c
m4/truncf.m4
Depends-on:
math-h
extensions
float-h [test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1]
configure.ac:
gl_FUNC_TRUNCF
gl_CONDITIONAL([GL_COND_OBJ_TRUNCF],
[test $HAVE_DECL_TRUNCF = 0 || test $REPLACE_TRUNCF = 1])
gl_MATH_MODULE_INDICATOR([truncf])
Makefile.am:
if GL_COND_OBJ_TRUNCF
lib_SOURCES += truncf.c
endif
Include:
<math.h>
Link:
$(TRUNCF_LIBM)
License:
LGPL
Maintainer:
all