s32k144 board s32 IDE for the following instruction I am getting error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32k144 board s32 IDE for the following instruction I am getting error

268 次查看
sona1
Contributor I

static void park_transform()
{
double x = 0.0;
double idx = 0;
idx = cos(x);
}

for the instruction idx = cos(x); gives an error as 

UsageFault: An instruction executed with an invalid EPSR.T or EPSR.IT field.

0 项奖励
回复
1 回复

248 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @sona1 

I will be helping you in your other post (s32k144 when math.h is included while debugging getting the error for acos function).

 

B.R.

VaneB

0 项奖励
回复