
19 Aug
2009
19 Aug
'09
5:09 p.m.
on 19.08.2009 at 17:07 Jarrad Waterloo wrote :
If you want to know what should go into its public interface consider looking at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2849.pdf. This is the current proposal for decimal floating point types. Being another numeric type for C++ this proposal should give you an idea of what functions are needed; at least as a goal. indeed my suggestion would be: if a floating point type (with higher precision) is provided it sould be conformant with iec559 (ieee754) http://en.wikipedia.org/wiki/IEC_559 http://en.wikipedia.org/wiki/IEEE_754-2008
then i suppose it'll look like float64 f1; float128 f2; float256 f3; //etc. -- Pavel