(
Jump to the original submission)
Wed 21 Mar 2007 01:31:08 PM UTC, comment #8:
Fixed in CVS MAIN branch. The patch is implemented.
|
Mon 01 May 2006 09:18:31 PM UTC, comment #7:
20060501: convertion 'long_long <--> float' is added.
Patch to avr-libc-1.4.4: operations with 'devtools' are not needed more.
|
Sun 05 Mar 2006 10:25:51 PM UTC, comment #6:
20060305: a few of new functions (C99)
|
Sat 25 Feb 2006 10:35:27 PM UTC, comment #5:
fplib-20060225: small inprovements
|
Fri 24 Feb 2006 12:34:56 AM UTC, comment #4:
To try the patch to avr-libc-1.4.3:
- untar a 'avr-libc-1.4.3' tarball
- apply the patch
- make exutable: chmod a+x devtools/gen-avr-lib-tree.sh
- ./bootstrap
Below all is standart:
- ./configure ...
- make && make install
|
Fri 24 Feb 2006 12:27:53 AM UTC, comment #3:
fplib-20060224: one error fixed, a bit of accuracy improvements.
Test list is expanded.
|
Mon 20 Feb 2006 10:47:29 PM UTC, comment #2:
'fplib' is changed a little to power on IEEE 754 features.
Last acceleration by Peeter Vois (mulsf3) and numerous
improvements by Anatoly Sokolov are included also.
Try it by running a 'tst-all.sh' in tst/table directory.
|
Sun 05 Jun 2005 10:29:49 AM UTC, comment #1:
No this bug in gcc-4.0.0/avrlibc-1.2.3.
Test case work fine with all compare operation ( <, >, =>, <=).
volatile float foo;
volatile int res;
int
main (void)
{
foo = 3.402823466E+38;
foo = (foo * foo); /* foo = +Inf */
if(foo < 0.0)
{
res = -1;
} else {
res = 1;
}
foo = - foo; /* foo = -Inf */
if(foo < 0.0)
{
res = -1;
} else {
res = 1;
}
return (0);
}
|
Sun 08 Dec 2002 11:00:52 PM UTC, original submission:
When doing a floating point comparision, -Inf is not
detected properly as a negative number.
I. e.,
if (a < 0.0) { ... }
will not execute the code in { ... } if a is equal -Inf.
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 16 latest changes.
| Date |
Changed By |
Updated Field |
Previous Value |
=> |
Replaced By |
| Tue 18 Dec 2007 09:38:36 PM UTC | joerg_wunsch | Status | None |  | Fixed |
| | | Assigned to | None |  | dmix |
| | | Open/Closed | Open |  | Closed |
| Mon 08 Jan 2007 01:00:27 PM UTC | joerg_wunsch | Item Group | None |  | libm code |
| Tue 19 Dec 2006 08:52:02 AM UTC | dmix | Attached File | - |  | Added avr-libc-1.4.5-20061219.diff.bz2, #11557 |
| Mon 01 May 2006 09:19:43 PM UTC | dmix | Attached File | - |  | Added avr-libc-1.4.4-20060501.diff.bz2, #9870 |
| Mon 01 May 2006 09:18:32 PM UTC | dmix | Attached File | - |  | Added fplib-20060501.tar.bz2, #9869 |
| Sun 05 Mar 2006 10:26:32 PM UTC | dmix | Attached File | - |  | Added avr-libc-1.4.3-20060305.diff.bz2, #3473 |
| Sun 05 Mar 2006 10:25:51 PM UTC | dmix | Attached File | - |  | Added fplib-20060305.tar.bz2, #3472 |
| Sat 25 Feb 2006 10:36:22 PM UTC | dmix | Attached File | - |  | Added fplib-20060225.tar.bz2, #3440 |
| Sat 25 Feb 2006 10:35:27 PM UTC | dmix | Attached File | - |  | Added avr-libc-1.4.3-20060225.diff.bz2, #3439 |
| Fri 24 Feb 2006 12:34:56 AM UTC | dmix | Attached File | - |  | Added avr-libc-1.4.3-20060224.diff.bz2, #3437 |
| Fri 24 Feb 2006 12:27:53 AM UTC | dmix | Attached File | - |  | Added fplib-20060224.tar.bz2, #3436 |
| Mon 20 Feb 2006 10:47:29 PM UTC | dmix | Attached File | - |  | Added fplib-20060220.tar.bz2, #3427 |
| Sun 05 Jun 2005 10:29:49 AM UTC | aesok | Attached File | - |  | Added inf-cmp-test.c, #2575 |
| Mon 18 Oct 2004 05:21:16 PM UTC | arcanum | Category | None |  | Library |