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:
rintl() function: round according to the current rounding mode.
Files:
lib/rintl.c
lib/rint.c
m4/rintl.m4
m4/mathfunc.m4
Depends-on:
math-h
extensions
rint [{ test $HAVE_RINTL = 0 || test $REPLACE_RINTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
configure.ac:
gl_FUNC_RINTL
gl_CONDITIONAL([GL_COND_OBJ_RINTL],
[test $HAVE_RINTL = 0 || test $REPLACE_RINTL = 1])
gl_MATH_MODULE_INDICATOR([rintl])
Makefile.am:
if GL_COND_OBJ_RINTL
lib_SOURCES += rintl.c
endif
Include:
<math.h>
Link:
$(RINTL_LIBM)
License:
LGPL
Maintainer:
all