2010/7/16 Dongsheng Song <[email protected]>: > On Fri, Jul 16, 2010 at 13:17, Kai Tietz <[email protected]> wrote: >> >> The feature of decimal-floating-point isn't enabled in gcc for >> cygwin/mingw targets. Question for those targets are, which >> decimal-floating-point variant should be used, is there any support by >> runtime, which ISO-Spec it the Decimal128 type in #c following? etc. >> As long as those points aren't clarified I don't want to enable this >> feature for win32. >> >> Regards, >> Kai > > Thanks. > > From gcc\gcc\configure.ac, I see decimal float only enabled on > targets: powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* > > Can I enable decimal float support by simple add > > i?86*-*-mingw* | x86_64*-*-mingw* > > to the targets list ?
Yes, this is the change necessary IIRC. It could be that there are one or two other nits necessary, but they were pretty obvious as I tested decimal floating point (by bid) for mingw targets. In general I would suggest to use similiar variant for mingw as for linux. > I found gcc implement decimal64 and decimal128 by decNumber, not > by decDouble and decQuad. But in the decNumber performance page: > > http://speleotrove.com/decimal/dnperf.html > > I see decDouble and decQuad much fast than decNumber, is there any > realization of consideration ? > > Regards, > Dongsheng > Regards, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
