Author Topic: GDB + __float128  (Read 2295 times)

Offline streumix

  • Single posting newcomer
  • *
  • Posts: 2
GDB + __float128
« on: April 06, 2016, 02:46:05 pm »
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


Offline streumix

  • Single posting newcomer
  • *
  • Posts: 2
Re: GDB + __float128
« Reply #1 on: April 06, 2016, 04:45:35 pm »
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