This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Minimum floating-point requirements
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 29 Jan 2014 16:46:38 +0000
- Subject: Re: Minimum floating-point requirements
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1401290320320 dot 2449 at digraph dot polyomino dot org dot uk>
A further point I forgot to include:
* float and double should always be IEEE binary32 and IEEE binary64.
However, code using specific parameters or layout of those types should go
in the relevant sysdeps/ieee754/ subdirectories (code just using generic
macros such as FLT_MANT_DIG may go directly in math/). (If in future we
implement TS 18661-3, however, I don't think we need to go so far as to
move otherwise generic code into sysdeps/ieee754/ before e.g. adding an
alias of cexpf32 to cexpf.)
--
Joseph S. Myers
joseph@codesourcery.com