Status of implementation of fenv.h test suites
Eshan Dhawan
eshandhawan51 at gmail.com
Tue Feb 25 05:44:49 UTC 2020
Sent from my iPhone
>> On 25-Feb-2020, at 4:20 AM, Joel Sherrill <joel at rtems.org> wrote:
>
>
>
>> On Mon, Feb 24, 2020 at 1:33 PM Eshan Dhawan <eshandhawan51 at 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?
>
I am using rv32imac bsp
> Behaviour is allowed to vary a bit if the rounding mode is not supported. Likely not supported
> if you were using soft floating point.
>
> --joel
>
I will add all the rounding direction test cases for fesetround and fegetround
And you can check them
--eshan
>>
>>
>>> On Thu, Feb 20, 2020 at 7:28 PM Joel Sherrill <joel at rtems.org> wrote:
>>>
>>>
>>>> On Thu, Feb 20, 2020 at 2:33 AM Vaibhav Gupta <vaibhav.varodek at gmail.com> wrote:
>>>>
>>>>
>>>>> On Thu, Feb 20, 2020, 12:47 PM Eshan Dhawan <eshandhawan51 at 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 at rtems.org
>>>>> http://lists.rtems.org/mailman/listinfo/devel
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200225/064e9fcd/attachment.html>
More information about the devel
mailing list