https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113455
--- Comment #7 from newbie-02 <newbie-02 at gmx dot de> --- > (and GCC doesn't implement the FENV_DEC_ROUND pragma to set a constant > rounding mode in a particular scope) here we are leaving my level of knowledge about internals. Let me formulate from a user / programmers perspective: Wanted is 'decimal compatible math'. Which is to some degree announced and partly fulfilled with _Decimalxxx datatypes. Shortcomings are: - requires libdfp ( hard to find and tricky to use ), or other library. - even with that there are situations where the rounding mode isn't respected, thus no system of reliable human compatible math. Could and should - IMHO - be improved by implementing something in gcc which accounts users wish 'ties away' in all situations. Can't say if that is a 'pragma' or what else. The essential point is to offer a well-rounded system / environment that relieves programmers and users from being constantly surprised by deviations. And thus set's them free from always and anytime having to check for it. Too big a wish? ( code - compiler - libraries - math shouldn't play Larry Laffer )