Branch
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:
trunc() function: round towards zero.
Files:
lib/trunc.c
m4/trunc.m4
Depends-on:
math-h
extensions
float-h [test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1]
configure.ac:
gl_FUNC_TRUNC
gl_CONDITIONAL([GL_COND_OBJ_TRUNC],
[test $HAVE_DECL_TRUNC = 0 || test $REPLACE_TRUNC = 1])
gl_MATH_MODULE_INDICATOR([trunc])
Makefile.am:
if GL_COND_OBJ_TRUNC
lib_SOURCES += trunc.c
endif
Include:
<math.h>
Link:
$(TRUNC_LIBM)
License:
LGPL
Maintainer:
all