This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix masking error in fesetround() on hppa


> I've put that fix in.  I'm not quite sure what you are suggesting for a new
> test, but test cases that fail on known bug regressions (i.e. one that
> fails before your fix and works after it) are always welcome.

I was thinking about adding a test to exercises fesetround()/fegetround().
This would involve expanding math/test-fenv.c a little. Currently it
only checks to see if the intial rounding mode is FE_TONEAREST, but
doesn't include any checks for seting and geting. A test like this would
have revealed the bug in our fesetround implementation.

c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]