Opened 13 years ago
Closed 13 years ago
#103 closed defect (fixed)
x8664 callbacks, single-float return.
Reported by: | gb | Owned by: | gb |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Foreign Function Interface | Version: | |
Keywords: | Cc: |
Description
The "portable" parts of the expansion of DEFCALLBACK generated code which coerced SINGLE-FLOAT results to DOUBLE-FLOATs. This behavior is really PPC-specific, and should be moved to the platform-specific FFI code that deals with callback return values.
A symptom is that:
(defcallback two (:float)
2.0f0)
(ff-call two :float)
would likely return the low 32 bits of 2.0d0 rather than 2.0f0.
(This was fixed in changeset:7134 and changeset:7135); the bug's been present in the x8664 FFI forever.)
Change History (1)
comment:1 Changed 13 years ago by gb
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Closed already; just wanted to enter the bug.