Comments (8)
Anatoly Sokolov
Sun 05 Jun 2005 12:29:49 PM CEST
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);
}
from avr-libc.
Dmitry Xmelkov
Mon 20 Feb 2006 11:47:29 PM CET
'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.
from avr-libc.
Dmitry Xmelkov
Fri 24 Feb 2006 01:27:53 AM CET
fplib-20060224: one error fixed, a bit of accuracy improvements.
Test list is expanded.
from avr-libc.
Dmitry Xmelkov
Fri 24 Feb 2006 01:34:56 AM CET
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
from avr-libc.
Dmitry Xmelkov
Sat 25 Feb 2006 11:35:27 PM CET
fplib-20060225: small inprovements
from avr-libc.
Dmitry Xmelkov
Sun 05 Mar 2006 11:25:51 PM CET
20060305: a few of new functions (C99)
from avr-libc.
Dmitry Xmelkov
Mon 01 May 2006 11:18:31 PM CEST
20060501: convertion 'long_long <--> float' is added.
Patch to avr-libc-1.4.4: operations with 'devtools' are not needed more.
from avr-libc.
Dmitry Xmelkov
Wed 21 Mar 2007 02:31:08 PM CET
Fixed in CVS MAIN branch. The patch is implemented.
from avr-libc.
Related Issues (20)
- EEPROM doesn't get written on AVR64EA32. I expect AVR DD to also be affected... HOT 2
- gcrt1.S: Provide symbols for exact memory layout HOT 2
- strndup is missing from the libc HOT 1
- runtest.sh errors out HOT 1
- avr/wdt.h: Many of the `wdt_enable` and `wdt_disable` implementations use wrong inline asm. HOT 1
- Use _VECTOR_SIZE in gcrt1.S if available HOT 1
- Many headers use // comments, hence don't work with pre-C99 HOT 3
- Generate long lists of file names used in Makefile.am HOT 1
- SPM control register bit 3 name change with ATtiny828 prevents from using fuse bits API HOT 1
- Current web documentation has trashed code indentations HOT 3
- Finally remove the deprecated prog_ types. HOT 1
- Web documentation uses deprecated stuff HOT 1
- [Documentation] break and continue statements inside ATOMIC_BLOCK HOT 2
- EEPROM tests for ATtiny2313 are failing
- avr-libc/include/avr/version.h.in HOT 7
- Improvement(s) for eu_dst HOT 17
- math.h generates no doxygen HOT 1
- NVM_PROD_SIGNATURES_t is missing from iox128a1u.h HOT 3
- Use .progmemx + ELPM instead of .progmem + LPM if applicable HOT 2
- libm defines symbol inverse, which is in the namespace of the application HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avr-libc.