"GCC supports built-in functions for math.h and complex.h functions in the C99/C11 standards (both folding calls for constant arguments, and expanding inline when the processor supports appropriate functionality). More such functions have been added in ISO/IEC TS 18661, supporting features of IEEE 754-2008. It would be useful to have built-in functions for those, both folding for constant arguments, and expanding inline where appropriate (e.g. for roundeven and the functions rounding result to narrower type, on some processors; roundeven can be inlined on x86 for SSE4.1 and later, and the narrowing functions on IA64 and POWER8, for example)".
The above Project Idea is made available on 'Summer of Code' wiki of GNU GCC Website. I wanted to have some more details about above idea regarding to what is expected for implementation and expected output for the same. -Tejas Joshi