summaryrefslogtreecommitdiff
path: root/modules/fmaf
blob: 8373d61bc5ee766b96564f5120d990b5367b74d3 (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
Description:
fmaf() function: fused multiply-add.

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

Depends-on:
math
extensions
float           [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
stdbool         [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
assert-h         [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
isfinite        [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
integer_length  [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
frexpf          [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]
ldexpf          [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1]

configure.ac:
gl_FUNC_FMAF
gl_CONDITIONAL([GL_COND_OBJ_FMAF],
               [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1])
AM_COND_IF([GL_COND_OBJ_FMAF], [
  gl_PREREQ_FMAF
])
gl_MATH_MODULE_INDICATOR([fmaf])

Makefile.am:
if GL_COND_OBJ_FMAF
lib_SOURCES += fmaf.c
endif

Include:
<math.h>

Link:
$(FMAF_LIBM)

License:
LGPL

Maintainer:
all