 | | Re: Floating ponts ??
|
|
(...) Double check the actual program you are test to make sure that you don't have: p = 0.4 /* Only one = */ This is the number one "c" typo and is easy to overlook Lester been there, done that (25 years ago, 4-May-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Floating ponts ??
|
|
(...) I can't check this out now, but keep e-mailing me until I do. -Kekoa kekoa@graphics.stanford.edu (25 years ago, 4-May-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Floating ponts ??
|
|
Hello everybody I am writing a program that uses floats, but I have some problems. If I write /******/ float p; p = 0.3; if(p == 0.4) do something; /******/ The if statement evaluates to true. Is there anything special I have to do to use floats in (...) (25 years ago, 3-May-01, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: LegOS bug - firmware unlock string not below CC00h in some circumstances
|
|
(...) Argh! This is so typical of many embedded projects that I have seen go sour over the years. It's due to not using the linker to full advantage. In my firmware, I declare the string in its own .text section (you can do this in inline assembler (...) (25 years ago, 29-Apr-01, to lugnet.robotics.rcx.legos)
|
| |
 | | LegOS bug - firmware unlock string not below CC00h in some circumstances
|
|
Just thought I'd better report this... Firmdl3 is unable to download very large statically linked programs (with a .text segment greater than 4c00h bytes). Unlike previous size related bugs, this is *not* caused by firmdl, but rather by kmain.c. (...) (25 years ago, 28-Apr-01, to lugnet.robotics.rcx.legos)
|