Giter VIP home page Giter VIP logo

Comments (3)

zygoloid avatar zygoloid commented on July 20, 2024

As I understand it, it's intentional that void f(__float128) when compiled for a "double == 64-bit" target is link-compatible with a void f(long double) when compiled for a "double == double-double" target. If we used g for the former and kg for the latter, that wouldn't work. I expect the same to apply for binary128-format long double.

If we use kg in both cases, then we don't need the k; demanglers can just choose to demangle g as long double (or long double<__float128> or whatever string they prefer). I expect the same to apply for binary128.

from cxx-abi.

segher avatar segher commented on July 20, 2024

__float128 is not an existing type on older compilers. It is currently the binary128 type, but
it is mangled incorrectly (not just the wrong mangling; invalid mangling).

__float128 as demangling for long double has never worked for us.

from cxx-abi.

segher avatar segher commented on July 20, 2024

We now decided to not mangle long double different from the type is stands for, i.e. g for __ibm128
and u9__ieee128 for __ieee128. So I withdraw this request. Thanks.

from cxx-abi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.