This is the mail archive of the
mailing list for the glibc project.
Re: Not supporting all rounding modes
Thomas Schwinge <email@example.com> wrote:
> Turns out this is directly from back when Kaz and Yutaka Niibe (CCed)
> added the SH glibc port, twelve years ago. Do you guys happen to
> remember the history about these rounding modes, or would you agree to
> remove FE_UPWARD and FE_DOWNWARD from the list of supported modes? Or,
> does SH-4-based hardware exist that supports all four modes, and we have
> to do this in a more fine-grained fashion?
I can't recall how that file was written. AFAIK, SH FPU supports
only two rounding modes as you pointed out and the comment in fenv.h
is simply wrong.