summaryrefslogtreecommitdiff
path: root/modules/fmal
blob: 3927262e6a91f784f58bbcf08c29f597d25579b5 (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
42
43
44
45
46
47
48
Description:
fmal() function: fused multiply-add.

Files:
lib/fmal.c
lib/fma.c
lib/float+.h
m4/fmal.m4
m4/fegetround.m4
m4/mathfunc.m4

Depends-on:
math
extensions
fma             [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float           [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
stdbool         [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
assert-h        [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isfinite        [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
integer_length  [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
frexpl          [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
ldexpl          [{ test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_FMAL
gl_CONDITIONAL([GL_COND_OBJ_FMAL],
               [test $HAVE_FMAL = 0 || test $REPLACE_FMAL = 1])
AM_COND_IF([GL_COND_OBJ_FMAL], [
  gl_PREREQ_FMAL
])
gl_MATH_MODULE_INDICATOR([fmal])

Makefile.am:
if GL_COND_OBJ_FMAL
lib_SOURCES += fmal.c
endif

Include:
<math.h>

Link:
$(FMAL_LIBM)

License:
LGPL

Maintainer:
all