For implementation of fegetround() and fesetround() basic details : https://pubs.opengroup.org/onlinepubs/9699919799/functions/fegetround.html
As I used fesetround() to change the rounding direction it returns a successful result but when I test fegetround() for the same rounding direction then it fails and just returns rounding to nearest. On Thu, Feb 20, 2020 at 7:28 PM Joel Sherrill <[email protected]> wrote: > > > On Thu, Feb 20, 2020 at 2:33 AM Vaibhav Gupta <[email protected]> > wrote: > >> >> >> On Thu, Feb 20, 2020, 12:47 PM Eshan Dhawan <[email protected]> >> wrote: >> >>> Hello >>> The current fenv.h test suite supports only basic functions that check >>> that fenv.h environment is present or not >>> I would like to extend the test suite further >>> What more functions can be added to it. >>> >> Test all the functions of fenv.h: >> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html >> > > Here is the FreeBSD test. > > http://web.mit.edu/freebsd/head/tools/regression/lib/msun/test-fenv.c > > It needs to account for not having the functionality at least. > > >> >> >> -- Vaibhav Gupta >> >>> >>> -Eshan Dhawan >>> _______________________________________________ >>> devel mailing list >>> [email protected] >>> http://lists.rtems.org/mailman/listinfo/devel >>> >> _______________________________________________ >> devel mailing list >> [email protected] >> http://lists.rtems.org/mailman/listinfo/devel > >
_______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
