home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / mcl / 1556 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!slack@starbase.mitre.org
  2. From: slack@starbase.MITRE.ORG (M. G. Slack)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Double floats
  5. Message-ID: <9211061416.AA24629@starbase.mitre.org>
  6. Date: 6 Nov 92 14:16:05 GMT
  7. References: millett@sbctri.sbc.com's message of Thu, 5 Nov 1992 16:32:30 -0600 <9211052232.AA07926@calvin>
  8. Sender: info-mcl-request@cambridge.apple.com
  9. Lines: 21
  10. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  11. Return-Path: <slack@starbase.mitre.org>
  12. Original-To: millett@sbctri.sbc.com
  13. Original-Cc: info-mcl@cambridge.apple.com
  14.  
  15.  
  16.  
  17.    Date: Thu, 5 Nov 1992 16:32:30 -0600
  18.    From: millett@sbctri.sbc.com
  19.    X-Sender: brain@calvin.sbc.com
  20.  
  21.    I am tring to take a double-float number, break it down into 2 long
  22.    integers (high-word and low-word) to send over the network conforming to
  23.    the IEEE floating point standard.  I also want to read 2 words from the
  24.    stream and make a double-float from them.  Any Ideas?  Symbolics has two
  25.    functions that do what I want: "si:dfloat-components: (double)" &
  26.    "si:%make-double: (high low)"  Any way to do this with the mac?
  27.  
  28.    Thanks,
  29.    millett@sbctri.sbc.com
  30.  
  31.  
  32. In the foreign function interface there are two functions which you can use to
  33. get a handle on doubles: %put-double and %get-double.  
  34.  
  35. Marc
  36.