Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

In ARM VPF, why does the exponent part should add 127(in 32-bit) to represent the exponent?

In ARM VPF, why does the exponent part should add 127(in 32-bit) to represent the exponent?

In VPF 32-bit mode, a float number is store as follow:

31    30... ...23    22... ...0

S    Exponent    Mantissa

As for +0.5, the exponent is -1 ( +0.5 = 1*1*2^(-1) ). But in fact, the Exponent is stored as 126(-1+127), so I want ask why we should add a 127 then store the number in Exponent?