[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Accessing C floating point data type in MCL
- To: info-mcl@ministry.cambridge.apple.com
- Subject: Accessing C floating point data type in MCL
- From: lam@ai-pluto.jpl.nasa.gov (Ray Lam)
- Date: Thu, 26 Aug 1993 16:26:36 -0800
- Followup-to: comp.lang.lisp.mcl
- Newsgroups: comp.lang.lisp.mcl
- Organization: JPL
Hi,
I'm looking for a function simular to "%get-long" but it will work on
a ptr to a floating point number in C. I was looking into the
ff-source.lisp
file and found the function "%get-x2float". Can anyone tell me what that
function does?
Also, Can anyone tell me how a FLOAT datatype in C is represented in a
32 and 64 bits? Where is the exponent and where is the mantissa. Thanks in
advance.
Ray Lam
lam@ai-pluto.jpl.nasa.gov
Finally,