1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Bruno Haible b368b69ba7 isinf-no-c++: New module.
Reported by G. Branden Robinson <g.branden.robinson@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-12/msg00150.html>.

* modules/isinf-no-c++: New file, based on modules/isinf.
* modules/isinf: Essentially an alias of isinf-no-c++ now.
* modules/isinf-no-c++-tests: Renamed from modules/isinf-tests.
* lib/math.in.h (isinf): Test also GNULIB_ISINF_NO_CXX.
* m4/math_h.m4 (gl_MATH_H_REQUIRE_DEFAULTS): Initialize
GNULIB_ISINF_NO_CXX.
* modules/math-h (Makefile.am): Substitute GNULIB_ISINF_NO_CXX.
* modules/fmod (Depends-on): Add isinf-no-c++. Remove isinf.
* modules/fmodl (Depends-on): Likewise.
* modules/hypot (Depends-on): Likewise.
* modules/hypotl (Depends-on): Likewise.
* modules/modf (Depends-on): Likewise.
* modules/modfl (Depends-on): Likewise.
* modules/remainder (Depends-on): Likewise.
* modules/remainderf (Depends-on): Likewise.
* modules/remainderl (Depends-on): Likewise.
* modules/strtod (Depends-on): Likewise.
* modules/strtof (Depends-on): Likewise.
* modules/strtold (Depends-on): Likewise.
2025-12-19 23:35:28 +01:00

36 lines
514 B
Plaintext

Description:
modf() function: get signed integer and fractional parts.
Files:
lib/modf.c
m4/modf.m4
m4/mathfunc.m4
Depends-on:
math-h
isfinite-no-c++ [test $REPLACE_MODF = 1]
trunc [test $REPLACE_MODF = 1]
isinf-no-c++ [test $REPLACE_MODF = 1]
configure.ac:
gl_FUNC_MODF
gl_CONDITIONAL([GL_COND_OBJ_MODF], [test $REPLACE_MODF = 1])
gl_MATH_MODULE_INDICATOR([modf])
Makefile.am:
if GL_COND_OBJ_MODF
lib_SOURCES += modf.c
endif
Include:
<math.h>
Link:
$(MODF_LIBM)
License:
LGPL
Maintainer:
all