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 1/3] Consolidate range reduction in sincos for x > 281474976710656


On Fri, 11 Dec 2015, Siddhesh Poyarekar wrote:

> Range reduction needs to be done only once for sin and cos, so copy
> over all of the relevant functions (__sin, __cos, reduce_and_compute)
> and consolidate common code.

I don't think copying large amounts of code like that is a good idea.  
Rather, it would be better to arrange for this code to go in just one 
place with whatever #if conditionals are required.

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