This is the mail archive of the libc-alpha@sourceware.org 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: RFC: TS 18661-3 and related floating-point interfaces


On Tue, Jan 17, 2017 at 8:26 AM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Mon, 16 Jan 2017, Zack Weinberg wrote:
>> > Any comments on this proposal regarding inclusion of TS 18661-3
>> > functions and similar functions for the new types in glibc?
>>
>> New math functions should not set errno.
>
> New functions should set errno in accordance with the documented error
> handling conventions and the value of math_errhandling

... which should be changed as necessary to reflect the principle that
new math functions do not set errno.  Math functions setting errno was
a design mistake which should not be continued.

If you disagree with this principle, please give a concrete reason
_other than_ continuity.

zw


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