Block: Exp



PIC




Inports


In

Input u






Outports


Out

Result of exp(u)




Description:

Computation of the exponential of the input.

Calculation:

       {
         eIn  In ≤  0
Out =
         1    In >  0

Implementations:
FiP8 8 Bit Fixed Point Implementation
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation

Implementation: FiP8


Name FiP8
ID 4848
Revision 0.1
C filename Exp_FiP8.c
H filename Exp_FiP8.h

8 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int8          *In; 
     int8          Out; 
} EXP_FIP8;

Implementation: FiP16


Name FiP16
ID 4849
Revision 0.1
C filename Exp_FiP16.c
H filename Exp_FiP16.h

16 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int16         *In; 
     int16         Out; 
} EXP_FIP16;

Implementation: FiP32


Name FiP32
ID 4850
Revision 0.1
C filename Exp_FiP32.c
H filename Exp_FiP32.h

32 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int32         *In; 
     int32         Out; 
} EXP_FIP32;