Re: Real_cst printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<Primrose.Mbanefo@xxxxxxxxxxxx> writes:

> Where can I find documentation about the REAL_CST tree?
> Mine says FIX_ME...

Well, I suppose you can look in tree.def and tree.h.

Basically a REAL_CST has a pointer to a struct real_value.  The struct
is defined in real.h.

> Actually I am trying to write the reals as they are given to the target
> file.
> 5.0 should appear as 5.0 in the target file. How can I do this?

Call real_to_decimal.

> To top it up, I would like to use the std::ostream and its operators. Is
> there no macro to do something like :
> os << GET_VALUE << endl; ?

I'm not sure what you mean here.  Obviously gcc is not written in C++.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux