Re: GSoC 2018 - Adding functions in math.h

2018-03-12 Thread Joseph Myers
On Mon, 12 Mar 2018, Tejas Joshi wrote: > Hello, > Thanks to all for your inputs to get me through. As mentioned above, I > have added the function roundeven in match.pd > and its declaration in builtins.def for the testcase 0. Following is > the patch for the same. The existing rounding function

GSoC 2018 - Adding functions in math.h

2018-03-11 Thread Tejas Joshi
> * roundeven is similar to existing functions round / ceil / floor / trunc. > So you'd define built-in functions (roundeven / roundevenf / roundevenl > and _FloatN and _FloatNx variants) similar to those for the older rounding > functions, in builtins.def. Hello, Thanks to all for your inputs t

GSoC 2018 - Adding functions in math.h

2018-03-11 Thread Tejas Joshi
> * roundeven is similar to existing functions round / ceil / floor / trunc. > So you'd define built-in functions (roundeven / roundevenf / roundevenl > and _FloatN and _FloatNx variants) similar to those for the older rounding > functions, in builtins.def. Hello, Thanks to all for your inputs t