On Mon, Feb 24, 2020 at 1:33 PM Eshan Dhawan <eshandhawa...@gmail.com> wrote:
> 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. > Which architecture? Assuming this was on RTEMS, which BSP? Behavior is allowed to vary a bit if the rounding mode is not supported. Likely not supported if you were using soft floating point. --joel > > > On Thu, Feb 20, 2020 at 7:28 PM Joel Sherrill <j...@rtems.org> wrote: > >> >> >> On Thu, Feb 20, 2020 at 2:33 AM Vaibhav Gupta <vaibhav.varo...@gmail.com> >> wrote: >> >>> >>> >>> On Thu, Feb 20, 2020, 12:47 PM Eshan Dhawan <eshandhawa...@gmail.com> >>> 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 >>>> devel@rtems.org >>>> http://lists.rtems.org/mailman/listinfo/devel >>>> >>> _______________________________________________ >>> devel mailing list >>> devel@rtems.org >>> http://lists.rtems.org/mailman/listinfo/devel >> >>
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel