Hi,
I am trying to use texas-instruments' TMS320C5505 fixed-point processor to
embed pocketsphinx. I'm using code composer studio to compile the
pocketsphinx-continuous. But i have some problems. In "dtoa.c" ı get an error
as "floating constant is out of range" in these lines;
Define Avoid_Underflow in the file header so that instead of very small
constant 1e-256 a bigger constant 9007199254740992.*9007199254740992.e-256
will be used
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In "prim_type.h" it says "Assume P64 or LP64. If you need to port this to a
DSP, let us know." I think the type definitions are made for 32 bit
processors and i have a 16-bit DSP, so what should i change?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to use texas-instruments' TMS320C5505 fixed-point processor to
embed pocketsphinx. I'm using code composer studio to compile the
pocketsphinx-continuous. But i have some problems. In "dtoa.c" ı get an error
as "floating constant is out of range" in these lines;
static CONST double
ifdef IEEE_Arith
bigtens = { 1e16, 1e32, 1e64, 1e128, 1e256 };
static CONST double tinytens = { 1e-16, 1e-32, 1e-64, 1e-128,
ifdef Avoid_Underflow
9007199254740992.9007199254740992.e-256
/ = 2^106 * 1e-53 */
Is the reason that i can't compile it for a fixed-point processor properly. If
so what should i do?
Can anybody help about this problem?
Define Avoid_Underflow in the file header so that instead of very small
constant 1e-256 a bigger constant 9007199254740992.*9007199254740992.e-256
will be used
In "prim_type.h" it says "Assume P64 or LP64. If you need to port this to a
DSP, let us know." I think the type definitions are made for 32 bit
processors and i have a 16-bit DSP, so what should i change?