const_double - RTL

Iman Narasamdya in@cs.man.ac.uk
Sat May 8 16:07:00 GMT 2004


Jim Wilson wrote:

We don't really provide a way to convert a const_double into a double 
value.  Since the host and target may have different floating point 
representations, in general, we can not use FP values inside the 
compiler.  Instead, we have REAL_VALUE_TYPE which is an abstracted 
representation of an FP value.  
------------------------
If, for example, I have an FP value 6.789, how does gcc make 
REAL_VALUE_TYPE of this value?









More information about the Gcc mailing list