spinn_common  development
Support code for SpiNNaker applications.
stdfix-exp.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 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 
29 
30 /*
31  * stdfix-exp.h
32  *
33  *
34  * SUMMARY
35  * The API file for a non-garbage-collected memory manager.
36  *
37  * AUTHOR
38  * Dave Lester (david.r.lester@manchester.ac.uk)
39  *
40  * COPYRIGHT
41  * Copyright (c) Dave Lester and The University of Manchester, 2013.
42  * All rights reserved.
43  * SpiNNaker Project
44  * Advanced Processor Technologies Group
45  * School of Computer Science
46  * The University of Manchester
47  * Manchester M13 9PL, UK
48  *
49  * DESCRIPTION
50  *
51  * CREATION DATE
52  * 20 February, 2014
53  *
54  * HISTORY
55  * * DETAILS
56  * Created on : 20 February 2014
57  * Version : $Revision$
58  * Last modified on : $Date$
59  * Last modified by : $Author$
60  * $Id$
61  *
62  * $Log$
63  */
64 
65 #ifndef __STDFIX_EXP_H__
66 #define __STDFIX_EXP_H__
67 
68 #include <stdint.h>
69 #include <stdfix.h>
70 #include <stdbool.h>
71 
72 #include <stdfix-full-iso.h>
73 
74 // stdfix-exp API
75 
79 s1615 expk(s1615 x);
80 
84 u1616 expuk(s1615 x);
85 
89 u032 expulr(s1615 x);
90 
91 #endif /*__STDFIX_EXP_H__*/
u032 expulr(s1615 x)
Fixed point exponential.
Definition: stdfix-exp.c:165
u1616 expuk(s1615 x)
Fixed point exponential.
Definition: stdfix-exp.c:147
s1615 expk(s1615 x)
Fixed point exponential.
Definition: stdfix-exp.c:130
Additions to the stdfix.h file to support full Draft ISO/IEC standards compliance.
unsigned accum u1616
An alternative name for the unsigned accum type.
Definition: stdfix-full-iso.h:202
accum s1615
An alternative name for the signed accum type.
Definition: stdfix-full-iso.h:184
unsigned long fract u032
An alternative name for the unsigned long fract type.
Definition: stdfix-full-iso.h:196