avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [HEAD/1.0] fix pow(N,0)


From: Joerg Wunsch
Subject: [avr-libc-dev] [HEAD/1.0] fix pow(N,0)
Date: Sun, 18 Jul 2004 00:12:40 +0200
User-agent: Mutt/1.4.2.1i

I've committed the attached patch to both, HEAD and the 1.0 branch.
The patch fixes a bug reported on AVRfreaks.net where pow(N,0)
erroneously yielded 0.5 as opposed to 1.0.  This was caused by a typo
in pow.S (clr rA2 instead of clr rA0).

The actual fix is a bit obfuscated by localizing the labels (see bug
#3573) which I needed in order to debug it in GDB.

For the 1.0 branch, I've also updated NEWS with the recent changes.
Given that Eric and Colin are close to releasing a new WinAVR version,
I'd suggest to also roll a 1.0.5 version of avr-libc (in particular
given the rather serious pow(3) bug fixed).  Ted, if you don't have
the time for that but agree in principle, just tell me what I need to
do for it to happen.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

Attachment: pow.fix
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]