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 3/4] Add ILP32 support to aarch64


On Thu, 3 Aug 2017, Wilco Dijkstra wrote:

> The generic implementation may well be faster... I'm not sure where the
> requirement of not raising inexact comes from (I don't see it in the definition
> of lrint, and we generally don't care since inexact is set by almost every FP
> calculation), but if it is absolutely required you'd special case values larger
> than LONG_MAX.

The requirement comes from lrint being bound to IEEE 754 conversion 
operations, so only raising inexact under the conditions specified and no 
spurious inexact.

-- 
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]