Hi,
I was wondering how many bits a ‘real’ number needs to be modified (for example ‘int’ type is 32-bit number).
Also what is the range of values of ‘real’ number?
Thanks.
Hi,
I was wondering how many bits a ‘real’ number needs to be modified (for example ‘int’ type is 32-bit number).
Also what is the range of values of ‘real’ number?
Thanks.
In reply to oglick:
From the perspective of a hardware description language, you are not supposed to be able to access individual bits or even be aware of how many bits a ‘real’ data types has.
However, the format of a real number in SystemVerilog is defined by IEEE Std 754, 64 bits (52 precision, 11 exponent, 1 sign).