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] Update sparc ULPs.


On Sat, 17 Nov 2012, David Miller wrote:

> That's all fine and well, but I should note that the float versions of
> these routines use the same exact value of tiny as the double ones.

It's safe (other than possibly getting spurious underflows in some cases) 
to use a value that's smaller than necessary (e.g. using a double value in 
a float function), but not to use one that's too large (e.g. using a 
double value in a long double function).

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