This is the mail archive of the libc-help@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: [Ask for help]: Met a problem with strtof


On Sat, 26 Apr 2014, Wang Weidong wrote:

> The syntax: Within FE_UPWARD mode, the operands is 32bits , do 
> `+0x1.4EF009P-21/-0x1.000000P-5`, the expect result is '-0x1.4EF009P-16'.

But +0x1.4EF009P-21 and -0x1.4EF009P-16 aren't representable in binary32 
(their mantissas span 25 bits), so such a test makes no sense at all.  
Your problem seems to be with this third-party testsuite, not with glibc.

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