home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / robotics / 2278 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.2 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ehsn2.cen.uiuc.edu!rg9538
  2. From: rg9538@ehsn2.cen.uiuc.edu (Ronald E Garnett)
  3. Newsgroups: comp.robotics
  4. Subject: HC11 Floating Point Routines
  5. Message-ID: <BxDosx.Jsv@news.cso.uiuc.edu>
  6. Date: 8 Nov 92 03:38:56 GMT
  7. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  8. Organization: University of Illinois at Urbana
  9. Lines: 35
  10.  
  11.  
  12.  
  13.  
  14. Help!  I'm looking for a library of assembly routines for floating point.
  15. I don't have time to write them myself.  I have access to a C compiler
  16. which has a floating point library, but the code size is (relatively)
  17. enormous.  Also, if anyone has any great ways to convert a floating
  18. point to a string, please tell me.  I devised a way using floating
  19. point log10() and pow10().  pow10(x) simply raise 10 to a power of X.
  20. This works, but is probably not optimal.
  21.  
  22.     if (preference == E-Mail) {
  23.     
  24.         Address = rg9538@ewshp.cen.uiuc.edu;
  25.  
  26.         send( mail, address);
  27.  
  28.     } else {
  29.  
  30.         post( message, group );
  31.  
  32.     }
  33.  
  34.  
  35. Regards,
  36.  
  37. Ron Garnett
  38.  
  39. University of Illinois at Urbana-Champaign
  40. (Every time i write that, I get thirsty for some reason)
  41.  
  42.  
  43.  
  44.  
  45. P.S.  Is there a 68HC11 group out there? Methinks there should be!
  46.