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: Minimum floating-point requirements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]