long double (was "strtold?")

Ken Werner ken@linux.vnet.ibm.com
Thu Mar 12 14:17:00 GMT 2009


On Thursday 12 March 2009 11:01:44 Corinna Vinschen wrote:
> Given that llround and llroundl are POSIX APIs, I wonder if they shouldn't
> be in libc/include/math.h like everything else, just defined for SPU only
> for now.  Eventually this API should be available for all targets.

Yes, sounds reasonable. The new patch declares them in the libc/include/math.h 
as suggested. I removed the machine header because it's no longer needed.

> The strtold patch in stdlib.h should be accompanies by a matching patch
> for wcstold in wchar.h, probably.

Done.

> Other than that, I guess we should wait for Jeff.  I'm not feeling
> confortable to check this in.  But thanks for providing this patch.

Thats fine with me. I just wanted to post tis patch while we are at it. : )

> Corinna

The reworked patch is attached, thanks for reviewing. 

Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longdouble.patch
Type: text/x-patch
Size: 8824 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20090312/e2c02862/attachment.bin>


More information about the Newlib mailing list