AnsweredAssumed Answered

How to perform double precision floating point operations?

Question asked by dishant19 on May 24, 2016
Latest reply on Jun 7, 2016 by ChristianH

Hi ,

 

Let's say I want to store a double precision floating point value in a register, how can it be done. For e.g

 

F4 = 1.5789e-40;

 

Above command stores 0.0 in F4, F4 being 32 bit register. If I try

 

F4:3 = 1.5789e-40; It gives error.

 

Also, lets say

F4 = 1.5789e-37

F2 = 0.5

F1 = F2 * F4       // results in zero as the result is out of range for single precision, I tried using long word but result isn't correct.

Outcomes