News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

GDB + __float128

Started by streumix, April 06, 2016, 02:46:05 PM

Previous topic - Next topic

streumix

Hi,
I'm currently working on code which utilizes g++ __float128 and std::complex<__float128> types to get quad precision for demanding numerics.
While debugging this code, the watch Window of GDB gives me weired values for __float128 based complex numbers.
The code runs fine, but once complex quad precision variables contain anything but or 0+j0, the watch window shows -Inf entries.  :o

Is this a known issue? Anything possible to bypass and see true values?

I've observed this for CB 16.04 on Fedora-23 as well as on Windows-7 (Mingw64/gcc-5.3.0), both 64-bit.

Regards,
Toby


streumix

Meanwhile I've learned that this is most likely an issue of the GDB (pretty) printing scripts and not an issue of CB per se.

Therefore, does anybod know about the status of (pretty) printing support for STL (std::complex) + __float128 ?

Toby