The R Project SVN R

Rev

Rev 70114 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70114 Rev 70779
Line 16... Line 16...
16
#include "nmath.h"
16
#include "nmath.h"
17
 
17
 
18
/* HAVE_COSPI etc will not be defined in standalone-use: the
18
/* HAVE_COSPI etc will not be defined in standalone-use: the
19
   intention is to make the versions here available in that case.
19
   intention is to make the versions here available in that case.
20
 
20
 
21
   The __cospi etc variants are from OS X (and perhaps other BSD-based systems).
21
   The __cospi etc variants are from macOS (and perhaps other BSD-based systems).
22
*/
22
*/
23
 
23
 
24
#ifdef HAVE_COSPI
24
#ifdef HAVE_COSPI
25
#elif defined HAVE___COSPI
25
#elif defined HAVE___COSPI
26
double cospi(double x) {
26
double cospi(double x) {