summaryrefslogtreecommitdiff
path: root/modules/strtold
blob: ee637cb4644e4f5940dffce4941dca7c0d42515e (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
Description:
strtold() function: convert string to 'long double'.

Files:
lib/strtold.c
lib/strtod.c
m4/strtold.m4
m4/math_h.m4
m4/ldexpl.m4

Depends-on:
stdlib
c-ctype         [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
math            [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
stdbool         [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
strtod          [{ test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]

configure.ac:
gl_FUNC_STRTOLD
gl_CONDITIONAL([GL_COND_OBJ_STRTOLD],
               [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1])
AM_COND_IF([GL_COND_OBJ_STRTOLD], [
  gl_PREREQ_STRTOLD
])
gl_STDLIB_MODULE_INDICATOR([strtold])

Makefile.am:
if GL_COND_OBJ_STRTOLD
lib_SOURCES += strtold.c
endif

Include:
<stdlib.h>

License:
LGPL

Maintainer:
all