Not supporting all rounding modes (was: [PATCH 1/4 v3] [SH/SH4]: Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenv)

Joseph S. Myers joseph@codesourcery.com
Tue May 29 13:41:00 GMT 2012


On Tue, 29 May 2012, Thomas Schwinge wrote:

> As far as I can tell, glibc is currently prepared to handle either no
> rounding modes, or all four -- but SH-4A apparently only supports two.
> Or am I missing some information?

It should support arbitrary subsets, though you may need to define 
__FE_UNDEFINED to an invalid mode as done on Tile for libm-test.inc to 
work.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list