ea41aeb89a78f3f60caec3f4e9770b7901895a32
[dragonfly.git] / contrib / mpfr / src / volatile.c
1 /* __gmpfr_longdouble_volatile -- support for LONGDOUBLE_NAN_ACTION.
2
3    THE FUNCTIONS IN THIS FILE ARE FOR INTERNAL USE ONLY.  THEY'RE ALMOST
4    CERTAIN TO BE SUBJECT TO INCOMPATIBLE CHANGES OR DISAPPEAR COMPLETELY IN
5    FUTURE MPFR RELEASES.
6
7 Copyright 2003, 2004, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
8 Contributed by the Arenaire and Caramel projects, INRIA.
9
10 This file is part of the GNU MPFR Library.
11
12 The GNU MPFR Library is free software; you can redistribute it and/or modify
13 it under the terms of the GNU Lesser General Public License as published by
14 the Free Software Foundation; either version 3 of the License, or (at your
15 option) any later version.
16
17 The GNU MPFR Library is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
20 License for more details.
21
22 You should have received a copy of the GNU Lesser General Public License
23 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
24 http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
25 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
26
27 #include "mpfr-impl.h"
28
29 /* Only needed sometimes. */
30 #ifdef WANT_GMPFR_LONGDOUBLE_VOLATILE
31 long double
32 __gmpfr_longdouble_volatile (long double x)
33 {
34   return x;
35 }
36 #endif