[PATCH v6 06/13] ARC: hardware floating point support

Joseph Myers joseph@codesourcery.com
Tue Jun 2 17:48:43 GMT 2020


On Fri, 29 May 2020, Vineet Gupta via Libc-alpha wrote:

> Side question: what do s_ / e_ prefixes mean?
> The suffix is clear s_roundf (float), s_round (double), s_roundl (128).

I don't know what they stand for (the naming convention probably 
originates from fdlibm, or at least much of the code does), but e_* 
functions have a w_* wrapper for error handling round the __ieee754_* 
function in the e_* file (some have since eliminated the use of wrappers 
in some cases) and s_* functions have an implementation with no wrappers 
that does any required error handling itself.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list