annotate tests/test-isnanf.c @ 12391:5d8d7c606ce6

test-dup2: enhance test Ensure that dup2(cloexec_fd, target) returns an inheritable fd. * modules/dup2-tests (Depends-on): Add cloexec. * tests/test-dup2.c (main): Enhance test. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Sat, 05 Dec 2009 06:19:01 -0700
parents 678640901735
children b5e42ef33b49
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10266
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
1 /* Test of isnanf() substitute.
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
2 Copyright (C) 2007-2008 Free Software Foundation, Inc.
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
3
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
4 This program is free software: you can redistribute it and/or modify
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
6 the Free Software Foundation; either version 3 of the License, or
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
7 (at your option) any later version.
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
8
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
12 GNU General Public License for more details.
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
13
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
16
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
17 #include <config.h>
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
18
10667
678640901735 Move the isnanf(), isnand(), isnanl() declarations to <math.h>.
Bruno Haible <bruno@clisp.org>
parents: 10266
diff changeset
19 #include <math.h>
10266
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
20
c0565d2cba32 Add isnanf module.
Ben Pfaff <blp@cs.stanford.edu>
parents:
diff changeset
21 #include "test-isnanf.h"