This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What's the rounding mode for float point operation in rts64plus.lib?

It seems not work as IEEE754 default mode.

The following program generates different results from rts64plus.lib and rts6700.lib by using the relevant simulator.

 

float a = (float)9067800;

float b = (float)1041830805;

float c = 1.0 / a;

float d = b * c;

printf("0x%x\n", *((int*)&d));

0x42e5c971 by using rts64plus.lib

0x42e5c972 by using rts6700.lib which is the same as visual studio's output on x86 cpu.

How can I get a IEEE754  float operation with default rounding mode on c64x+ ?

Thanks.