<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 24, 2020 at 1:33 PM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>For implementation of fegetround() and fesetround()<br></div><div><br></div><div>basic details : <a href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/fegetround.html" target="_blank">https://pubs.opengroup.org/onlinepubs/9699919799/functions/fegetround.html</a></div><div><br></div><div>As I used fesetround() to change the rounding direction it returns a successful result <br></div><div>but when I test fegetround() for the same rounding direction then it fails and just returns rounding to nearest.<br></div></div></blockquote><div><br></div><div>Which architecture? Assuming this was on RTEMS, which BSP?</div><div><br></div><div>Behavior is allowed to vary a bit if the rounding mode is not supported. Likely not supported</div><div>if you were using soft floating point.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 20, 2020 at 7:28 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 20, 2020 at 2:33 AM Vaibhav Gupta <<a href="mailto:vaibhav.varodek@gmail.com" target="_blank">vaibhav.varodek@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 20, 2020, 12:47 PM Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com" target="_blank">eshandhawan51@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello <br>
 The current fenv.h test suite  supports only basic functions that check that fenv.h environment is present or not <br>
I would like to extend the test suite further <br>
What more functions can be added to it. <br></blockquote></div></div><div dir="auto">Test all the functions of fenv.h:</div><div dir="auto"><a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html" target="_blank">https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fenv.h.html</a></div></div></blockquote><div><br></div><div>Here is the FreeBSD test. </div><div><br></div><div><a href="http://web.mit.edu/freebsd/head/tools/regression/lib/msun/test-fenv.c" target="_blank">http://web.mit.edu/freebsd/head/tools/regression/lib/msun/test-fenv.c</a></div><div><br></div><div>It needs to account for not having the functionality at least.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">-- Vaibhav Gupta</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-Eshan Dhawan <br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>
</blockquote></div>
</blockquote></div></div>