spinn_common  development
Support code for SpiNNaker applications.
sincos.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2013 The University of Manchester
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
19 
20 #ifndef __SINCOS_H__
21 #define __SINCOS_H__
22 
23 #include <stdfix-full-iso.h>
24 
28 s1615 sink(s1615 x);
32 s1615 cosk(s1615 x);
33 
34 #endif /*__SINCOS_H__*/
s1615 sink(s1615 x)
This function calculates the sin function for the s1615 type.
Definition: sincos.c:459
s1615 cosk(s1615 x)
This function calculates the cos function for the s1615 type.
Definition: sincos.c:463
Additions to the stdfix.h file to support full Draft ISO/IEC standards compliance.
accum s1615
An alternative name for the signed accum type.
Definition: stdfix-full-iso.h:184