Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANv4PN=cbSuaLc_=BJ8QX20UpoKh9imJ5ixL3qC4cYL_gHLKwQ@mail.gmail.com>
Date: Fri, 11 Apr 2014 11:17:00 -0400
From: Morten Welinder <mwelinder@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Preparing for releases 1.1.0 and 1.0.1

> Yes but this leads to serious breakage if the compiler does not handle
> the request to drop precision in a conforming way, and it still
> doesn't help the fact that strtod depends on long double semantics.

Are you sure?

If the incoming number has at most 53 bits then there will be at most
24 bits left after the 2^(1+28) reduction.  The scalings by 10^9 = 2^9 * 5^9
require at most log2(5^9) ~ 21 extra bits.

That ought to fit in valgrind's double.

Morten

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.