mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
b368b69ba7
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.
40 lines
656 B
Plaintext
40 lines
656 B
Plaintext
Description:
|
|
hypot() function: length of a vector in the plane.
|
|
|
|
Files:
|
|
lib/hypot.c
|
|
m4/hypot.m4
|
|
m4/mathfunc.m4
|
|
|
|
Depends-on:
|
|
math-h
|
|
extensions
|
|
isfinite-no-c++ [test $REPLACE_HYPOT = 1]
|
|
fabs [test $REPLACE_HYPOT = 1]
|
|
frexp [test $REPLACE_HYPOT = 1]
|
|
ldexp [test $REPLACE_HYPOT = 1]
|
|
sqrt [test $REPLACE_HYPOT = 1]
|
|
isinf-no-c++ [test $REPLACE_HYPOT = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_HYPOT
|
|
gl_CONDITIONAL([GL_COND_OBJ_HYPOT], [test $REPLACE_HYPOT = 1])
|
|
gl_MATH_MODULE_INDICATOR([hypot])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_HYPOT
|
|
lib_SOURCES += hypot.c
|
|
endif
|
|
|
|
Include:
|
|
<math.h>
|
|
|
|
Link:
|
|
$(HYPOT_LIBM)
|
|
|
|
License:
|
|
LGPL
|
|
|
|
Maintainer:
|
|
all
|