summaryrefslogtreecommitdiff
path: root/modules/hypotl
blob: ff9b7e6ff958b8f4bef01ca500b64739fd07b0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description:
hypotl() function: length of a vector in the plane.

Files:
lib/hypotl.c
m4/hypotl.m4
m4/mathfunc.m4

Depends-on:
math
extensions
hypot           [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
isfinite        [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
fabsl           [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
frexpl          [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
ldexpl          [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
sqrtl           [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isinf           [{ test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_HYPOTL
gl_CONDITIONAL([GL_COND_OBJ_HYPOTL],
               [test $HAVE_HYPOTL = 0 || test $REPLACE_HYPOTL = 1])
gl_MATH_MODULE_INDICATOR([hypotl])

Makefile.am:
if GL_COND_OBJ_HYPOTL
lib_SOURCES += hypotl.c
endif

Include:
<math.h>

Link:
$(HYPOTL_LIBM)

License:
LGPL

Maintainer:
all