[haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support

  • From: fano il primo <fanoilprimo@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 5 Dec 2011 15:42:32 +0100

On Mon, Dec 5, 2011 at 3:16 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote:

> On Mon, Dec 5, 2011 at 9:04 AM, fano il primo <fanoilprimo@xxxxxxxxx>
> wrote:
> > so as you can imagine maybe in the future will be add to the next C/C++
> > standards as a native type or class... so why reinvent the wheel?
> Because the implementation will likely change if/when that happens (or
> if the gcc maintainers decide to change it at a whim which they're not
> unlikely to do since they couldn't care less about binary
> compatibility), which results in your program breaking due to a
> compiler update. Furthermore, you're making the assumption that
> Haiku's planning on staying with gcc forever, which isn't necessarily
> the case.
> Regards,
> Rene
OK, so we go for our class based, I'd say, on the same libdecnumber (that
is an IBM thing, so you're sure it works!)  as in the end Be do for
BString... maybe we've something better...

Other related posts: