Re: [PATCH] fix potential infinite loop given large unsigned integer
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Aug 10, 2009, 11:12 UTC
- Message-ID
- <40aa078e0908100412l3c2afd1bnda9b10aaf1de383f@mail.gmail.com>
- In-Reply-To
- <200908100724.53345.chriscool@tuxfamily.org>
On Mon, Aug 10, 2009 at 7:24 AM, Christian Couder<chriscool@tuxfamily.org> wrote:
>> log10() appears to be C99, but can be emulated on earlier C-versions by >> doing #define log10(x) (log(x) / log(10.0)) > > That would mean linking with -lm?
I guess so. Are we currently trying to avoid linking to the math-parts of libc?
-- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656