| ??? 04/11/00 15:01 Read: times |
#2179 - Storing floating point variables |
Hi all! I am a novice developing an embedded product. I am coding in "C", using Keil's compiler kit. I need to store variables in E^2. Bytes and words are easy, but I have several floating point numbers I'd like to store without doing some manipulation like I am now: multiply by 1000 to get three decimal places and storing the word byte by byte. The E^2 is byte programmable. How can I easily store a four byte float? I thought about creating a pointer to the address, then sequentially storing the four bytes, but my pointer skills are lacking, as I can't get it to work. Any ideas? Please include some brief code if possible.
Thanks! Steve |
| Topic | Author | Date |
| Storing floating point variables | 01/01/70 00:00 | |
| RE: Storing floating point variables | 01/01/70 00:00 | |
| RE: Storing floating point variables | 01/01/70 00:00 | |
RE: Storing floating point variables | 01/01/70 00:00 |



