There is C++ language extension for base-10 floating-point numbers, which became ISO standard in 2011 (but not as a part of C++11, it's a separate TR).
@Cubbi How can I use those types? If I write std::decimal::decimal128 a; I get an error because for it std is the C++ Standard Library, not the GCC std. What can I do? (I have LLVM GCC 4.2)