CXXR (C++ R)
Rcomplex.h
1 /*CXXR $Id: Rcomplex.h 1348 2013-02-25 17:49:03Z arr $
2  *CXXR
3  *CXXR This file is part of CXXR, a project to refactor the R interpreter
4  *CXXR into C++. It may consist in whole or in part of program code and
5  *CXXR documentation taken from the R project itself, incorporated into
6  *CXXR CXXR (and possibly MODIFIED) under the terms of the GNU General Public
7  *CXXR Licence.
8  *CXXR
9  *CXXR CXXR is Copyright (C) 2008-13 Andrew R. Runnalls, subject to such other
10  *CXXR copyrights and copyright restrictions as may be stated below.
11  *CXXR
12  *CXXR CXXR is not part of the R project, and bugs and other issues should
13  *CXXR not be reported via r-bugs or other R project channels; instead refer
14  *CXXR to the CXXR website.
15  *CXXR */
16 
17 /* $Id: Rcomplex.h 1348 2013-02-25 17:49:03Z arr $ */
18 
19 /*
20  * R : A Computer Language for Statistical Data Analysis
21  * Copyright (C) 1995, 1996, 1997 Robert Gentleman and Ross Ihaka
22  * Copyright (C) 2000-6 The R Development Core Team.
23  * Copyright (C) 2005 The R Foundation
24  *
25  * This program is free software; you can redistribute it and/or modify
26  * it under the terms of the GNU General Public License as published by
27  * the Free Software Foundation; either version 2 of the License, or
28  * (at your option) any later version.
29  *
30  * This program is distributed in the hope that it will be useful,
31  * but WITHOUT ANY WARRANTY; without even the implied warranty of
32  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33  * GNU General Public License for more details.
34  *
35  * You should have received a copy of the GNU General Public License
36  * along with this program; if not, write to the Free Software
37  * Foundation, Inc., 51 Franklin Street Fifth Floor, Boston, MA 02110-1301 USA
38  */
39 
40 /* Prototypes of functions within complex.c needed elsewhere. */
41 
42 #ifndef RCOMPLEX_H
43 #define RCOMPLEX_H 1
44 
45 #ifdef HAVE_CONFIG_H
46 #include <config.h>
47 #endif
48 
49 #include <Defn.h> /* -> ../include/R_ext/Complex.h */
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 void attribute_hidden z_prec_r(Rcomplex *r, Rcomplex *x, double digits);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* RCOMPLEX_H */