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: [PATCH] Improve math_errhandling


On Thu, 21 Dec 2017, Wilco Dijkstra wrote:

> OK, setting to 0 for __FAST_MATH__ seems reasonable. Here is the revised patch:
> 
> Currently math_errhandling is always set to MATH_ERRNO | MATH_ERREXCEPT
> even if -fno-math-errno is used.  It is not defined at all when fast-math
> is used.  Set it to 0 with fast-math - this is noncomforming but more
> useful than not define math_errhandling at all. Also take __NO_MATH_ERRNO__
> into account and update comment.
> 
> ChangeLog:
> 2017-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
> 
> 	* math/math.h (math_errhandling): Add __NO_MATH_ERRNO__ check.

This patch is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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