summaryrefslogtreecommitdiff
path: root/modules/sqrtl
blob: a02827165413030592cb1a883a96d5808a84b102 (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
Description:
sqrtl() function: square root with long double argument.

Files:
lib/sqrtl.c
m4/sqrtl.m4

Depends-on:
math
extensions
sqrt            [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; }]
float           [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl          [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
frexpl          [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
ldexpl          [{ test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_SQRTL
gl_CONDITIONAL([GL_COND_OBJ_SQRTL],
               [test $HAVE_SQRTL = 0 || test $REPLACE_SQRTL = 1])
gl_MATH_MODULE_INDICATOR([sqrtl])

Makefile.am:
if GL_COND_OBJ_SQRTL
lib_SOURCES += sqrtl.c
endif

Include:
<math.h>

Link:
$(SQRTL_LIBM)

License:
LGPL

Maintainer:
Paolo Bonzini