Mercurial > hg > octave-shane > gnulib-hg
annotate modules/float @ 16434:4f9beada6ccb
New module 'frexpf-ieee'.
* modules/frexpf-ieee: New file.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 26 Feb 2012 15:08:36 +0100 |
parents | ec6332cd8838 |
children |
rev | line source |
---|---|
8843 | 1 Description: |
2 A correct <float.h>. | |
3 | |
4 Files: | |
9248
8bca1b6ce9d4
Rename float_.h to float.in.h.
Bruno Haible <bruno@clisp.org>
parents:
8995
diff
changeset
|
5 lib/float.in.h |
15301
deb35cf77594
float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
6 lib/float.c |
15803
ec6332cd8838
float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents:
15301
diff
changeset
|
7 lib/itold.c |
8843 | 8 m4/float_h.m4 |
9 | |
10 Depends-on: | |
8995
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8843
diff
changeset
|
11 include_next |
8843 | 12 |
13 configure.ac: | |
14 gl_FLOAT_H | |
15301
deb35cf77594
float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
15 if test $REPLACE_FLOAT_LDBL = 1; then |
deb35cf77594
float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
16 AC_LIBOBJ([float]) |
deb35cf77594
float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
Bruno Haible <bruno@clisp.org>
parents:
14840
diff
changeset
|
17 fi |
15803
ec6332cd8838
float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents:
15301
diff
changeset
|
18 if test $REPLACE_ITOLD = 1; then |
ec6332cd8838
float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents:
15301
diff
changeset
|
19 AC_LIBOBJ([itold]) |
ec6332cd8838
float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents:
15301
diff
changeset
|
20 fi |
8843 | 21 |
22 Makefile.am: | |
23 BUILT_SOURCES += $(FLOAT_H) | |
24 | |
25 # We need the following in order to create <float.h> when the system | |
26 # doesn't have one that works with the given compiler. | |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
27 if GL_GENERATE_FLOAT_H |
14527
049942251f65
Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
28 float.h: float.in.h $(top_builddir)/config.status |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10375
diff
changeset
|
29 $(AM_V_GEN)rm -f $@-t $@ && \ |
8843 | 30 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ |
14840
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
31 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ |
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
32 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
10375
f96e845fc36d
Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents:
9315
diff
changeset
|
33 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
13761
a19ace3ba849
Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents:
11868
diff
changeset
|
34 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8995
1025663f7658
* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
Paul Eggert <eggert@cs.ucla.edu>
parents:
8843
diff
changeset
|
35 -e 's|@''NEXT_FLOAT_H''@|$(NEXT_FLOAT_H)|g' \ |
15803
ec6332cd8838
float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
Bruno Haible <bruno@clisp.org>
parents:
15301
diff
changeset
|
36 -e 's|@''REPLACE_ITOLD''@|$(REPLACE_ITOLD)|g' \ |
9248
8bca1b6ce9d4
Rename float_.h to float.in.h.
Bruno Haible <bruno@clisp.org>
parents:
8995
diff
changeset
|
37 < $(srcdir)/float.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10375
diff
changeset
|
38 } > $@-t && \ |
8843 | 39 mv $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
40 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
41 float.h: $(top_builddir)/config.status |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
42 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
43 endif |
8843 | 44 MOSTLYCLEANFILES += float.h float.h-t |
45 | |
46 Include: | |
47 <float.h> | |
48 | |
49 License: | |
9315
be88e4511678
Change license to LGPLv2+ on dummy, float, realloc, stdlib.
Simon Josefsson <simon@josefsson.org>
parents:
9248
diff
changeset
|
50 LGPLv2+ |
8843 | 51 |
52 Maintainer: | |
53 all |