home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7346 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.2 KB

  1. Xref: sparky comp.os.os2.programmer:7346 comp.graphics:13434 comp.os.msdos.programmer:11818 comp.sys.ibm.pc.programmer:742
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsm!cbnewsl!att-out!rutgers!flop.ENGR.ORST.EDU!prism.CS.ORST.EDU!murrayk
  3. From: murrayk@prism.CS.ORST.EDU (the Dodger)
  4. Newsgroups: comp.os.os2.programmer,comp.graphics,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer
  5. Subject: Fixed point sqrt anyone?
  6. Message-ID: <1idsq6INNced@flop.ENGR.ORST.EDU>
  7. Date: 6 Jan 93 06:04:54 GMT
  8. Organization: CS Dept, Oregon State University
  9. Lines: 14
  10. NNTP-Posting-Host: prism.cs.orst.edu
  11.  
  12.  
  13. Well? Does anyone know of a quick and dirty way to get a reasonably accurate
  14. square root of a fixed point integer number? My numbers are stored in a 16.16
  15. bit format. I've heard of a few ways, but I'm open for ideas. I just want to
  16. keep on avoiding floating point for ethical reasons. 8^)
  17.  
  18. Thanks.
  19. Keith
  20.  
  21. -- 
  22.                               ____          _____  ____
  23. Keith Murray                 /     /___/ /\ \    \ \____    P.O. Box 1889
  24. murrayk@prism.cs.orst.edu   /___  /   / /__\ \____\ ____\   Corvallis OR 97339
  25.    the Dodger                  s  o  f  t  w\ a  r  e
  26.