* m4/hypot.m4: New file.
* modules/hypot (Files): Add m4/hypot.m4.
(configure.ac): Invoke gl_FUNC_HYPOT.
+2012-02-29 Bruno Haible <bruno@clisp.org>
+
+ hypot: Prepare for hypotf module.
+ * m4/hypot.m4: New file.
+ * modules/hypot (Files): Add m4/hypot.m4.
+ (configure.ac): Invoke gl_FUNC_HYPOT.
+
2012-02-29 Bruno Haible <bruno@clisp.org>
hypot tests: More tests.
--- /dev/null
+# hypot.m4 serial 1
+dnl Copyright (C) 2012 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_FUNC_HYPOT],
+[
+ dnl Determine HYPOT_LIBM.
+ gl_COMMON_DOUBLE_MATHFUNC([hypot])
+])
hypot() function: length of a vector in the plane.
Files:
+m4/hypot.m4
m4/mathfunc.m4
Depends-on:
configure.ac:
-gl_COMMON_DOUBLE_MATHFUNC([hypot])
+gl_FUNC_HYPOT
Makefile.am: