Behaviour differences on x86 and RISC-V on cos/sin functions

Joseph Myers joseph@codesourcery.com
Thu Dec 8 20:06:59 GMT 2022


On Thu, 8 Dec 2022, Palmer Dabbelt wrote:

> So it's OK to follow the RISC-V rules for library functions?  We don't have

Yes (only a few functions such as fabs and copysign need to do anything in 
particular regarding NaN payloads or signs).

> In other words: it's safe to call this behavior not a bug?

Correct.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list