[haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- From: fano il primo <fanoilprimo@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 7 Dec 2011 09:31:30 +0100
OK so you suggest to wait decimal floating point is ratified as a standard
native type for C/C++?
I suppose we've to wait a lot... you remember how much time tacked to adopt
"long long" as
a standard native integer?
In your opinion can be convenient to develop our own maybe more compliant
decimal class (as Be Inc. did for the string class, as C++ stdstring was
not enough mature to be usable at that epoch?) or it's better to wait it
becomes part of the C++ standard?
Let me know what you think...
Bye
fano
On Tue, Dec 6, 2011 at 10:03 PM, Ryan Leavengood <leavengood@xxxxxxxxx>wrote:
> Using integers cents to represent monetary units is pretty standard,
> and I can attest to working on professional banking software which did
> just that. Once you start dealing with databases, multiple programming
> languages and/or platforms, you really don't have any choice. Floats
> are just too inconsistent, and these GCC extensions are not mature
> enough.
>
> --
> Regards,
> Ryan
>
>
- References:
- [haiku-development] gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
- [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support
Other related posts:
- » [haiku-development] gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Alex Wilson
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Adrien Destugues
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Joseph Groover
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Rene Gollent
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Stephan Aßmus
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Ingo Weinhold
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- Ryan Leavengood
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support - fano il primo
- » [haiku-development] Re: gcc enable _Decimal32, _Deimal64 and _Decimal128 (and g++ decimal32, ...) support- fano il primo