Mercurial > gnulib
annotate modules/roundl @ 40196:e63f5d3edab5
relocatable-prog: Update documentation.
* doc/relocatable-maint.texi (Supporting Relocation): Update to match
the recent changes.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 24 Feb 2019 01:49:15 +0100 |
parents | 549120e12a45 |
children |
rev | line source |
---|---|
9375
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
1 Description: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
2 roundl() function: round toward nearest, breaking ties away from zero. |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
3 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
4 Files: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
5 lib/round.c |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
6 lib/roundl.c |
9386
54f12e03e281
Fix bugs in round modules reported by Bruno Haible.
Ben Pfaff <blp@cs.stanford.edu>
parents:
9375
diff
changeset
|
7 m4/check-math-lib.m4 |
9375
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
8 m4/roundl.m4 |
9467
08b76f84ac5d
Use the shared tests for the floor* and ceil* functions.
Bruno Haible <bruno@clisp.org>
parents:
9386
diff
changeset
|
9 m4/floorl.m4 |
08b76f84ac5d
Use the shared tests for the floor* and ceil* functions.
Bruno Haible <bruno@clisp.org>
parents:
9386
diff
changeset
|
10 m4/ceill.m4 |
9375
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
11 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
12 Depends-on: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
13 math |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
14 extensions |
16602
549120e12a45
roundl: Don't override undeclared system function on IRIX 6.5.
Bruno Haible <bruno@clisp.org>
parents:
15927
diff
changeset
|
15 round [{ test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] |
549120e12a45
roundl: Don't override undeclared system function on IRIX 6.5.
Bruno Haible <bruno@clisp.org>
parents:
15927
diff
changeset
|
16 float [{ test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] |
9375
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
17 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
18 configure.ac: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
19 gl_FUNC_ROUNDL |
16602
549120e12a45
roundl: Don't override undeclared system function on IRIX 6.5.
Bruno Haible <bruno@clisp.org>
parents:
15927
diff
changeset
|
20 if test $HAVE_ROUNDL = 0 || test $REPLACE_ROUNDL = 1; then |
15012
61a8e016e080
roundl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
21 AC_LIBOBJ([roundl]) |
61a8e016e080
roundl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
22 fi |
9375
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
23 gl_MATH_MODULE_INDICATOR([roundl]) |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
24 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
25 Makefile.am: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
26 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
27 Include: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
28 <math.h> |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
29 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
30 Link: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
31 $(ROUNDL_LIBM) |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
32 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
33 License: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
34 LGPL |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
35 |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
36 Maintainer: |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
37 Ben Pfaff |
96fea5b2eb11
Implement 'round', 'roundf', 'roundl' modules.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff
changeset
|
38 |