blob: a9745c336152fe3d75cdce8a9650cdd954d4662a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/********************************************************************
* Description: sincos.h
* support for native sincos functions
*
* Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: LGPL Version 2
* System: Linux
*
* Copyright (c) 2004 All rights reserved.
*
* Last change:
********************************************************************/
#ifndef SINCOS_H
#define SINCOS_H
#include "config.h"
/*
for each platform that has built-in support for the sincos function,
that should be discovered by ./configure
*/
/* testing for sincos now supported by ./configure */
#ifdef HAVE___SINCOS
#define sincos __sincos
#endif
/*
all other platforms will not have __sincos, and will
get the declaration for the explicit function
*/
#ifndef HAVE___SINCOS
extern void sincos(double x, double *sx, double *cx);
#endif
#endif /* #ifndef SINCOS_H */
|