Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl-copy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard M Kreuter
cmucl-copy
Commits
b6a9e4dd
Commit
b6a9e4dd
authored
9 years ago
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
Actually remove the double-double stuff that was moved.
Previously only commented out, so really remove them now.
parent
a2f0af94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/compiler/float-tran.lisp
+0
-81
0 additions, 81 deletions
src/compiler/float-tran.lisp
with
0 additions
and
81 deletions
src/compiler/float-tran.lisp
+
0
−
81
View file @
b6a9e4dd
...
...
@@ -38,47 +38,6 @@
(
deftransform
%double-float
((
n
)
(
double-float
)
*
:when
:both
)
'n
)
#+
(
and
nil
double-double
)
(
progn
(
defknown
%double-double-float
(
real
)
double-double-float
(
movable
foldable
flushable
))
(
deftransform
float
((
n
prototype
)
(
*
double-double-float
)
*
:when
:both
)
'
(
%double-double-float
n
))
(
deftransform
%double-float
((
n
)
(
double-double-float
)
*
:when
:both
)
'
(
double-double-hi
n
))
(
deftransform
%single-float
((
n
)
(
double-double-float
)
*
:when
:both
)
'
(
float
(
double-double-hi
n
)
1f0
))
(
deftransform
%double-double-float
((
n
)
(
double-double-float
)
*
:when
:both
)
'n
)
#+
nil
(
defun
%double-double-float
(
n
)
(
make-double-double-float
(
float
n
1d0
)
0d0
))
;; Moved to code/float.lisp, because we need this relatively early in
;; the build process to handle float and real types.
#+
nil
(
defun
%double-double-float
(
n
)
(
typecase
n
(
fixnum
(
%make-double-double-float
(
float
n
1d0
)
0d0
))
(
single-float
(
%make-double-double-float
(
float
n
1d0
)
0d0
))
(
double-float
(
%make-double-double-float
(
float
n
1d0
)
0d0
))
(
double-double-float
n
)
(
bignum
(
bignum:bignum-to-float
n
'double-double-float
))
(
ratio
(
kernel::float-ratio
n
'double-double-float
))))
)
; progn
(
defknown
%complex-single-float
(
number
)
(
complex
single-float
)
(
movable
foldable
flushable
))
(
defknown
%complex-double-float
(
number
)
(
complex
double-float
)
...
...
@@ -364,27 +323,6 @@
(
values
(
signed-byte
32
)
(
unsigned-byte
32
))
(
movable
foldable
flushable
))
#+
(
and
nil
double-double
)
(
progn
(
defknown
double-double-float-p
(
t
)
boolean
(
movable
foldable
flushable
))
(
defknown
%make-double-double-float
(
double-float
double-float
)
double-double-float
(
movable
foldable
flushable
))
(
defknown
double-double-hi
(
double-double-float
)
double-float
(
movable
foldable
flushable
))
(
defknown
double-double-lo
(
double-double-float
)
double-float
(
movable
foldable
flushable
))
)
; progn
(
deftransform
float-sign
((
float
&optional
float2
)
(
single-float
&optional
single-float
)
*
)
(
if
float2
...
...
@@ -401,18 +339,6 @@
(
if
(
minusp
(
double-float-high-bits
float
))
(
-
,
temp
)
,
temp
)))
'
(
if
(
minusp
(
double-float-high-bits
float
))
-1d0
1d0
)))
#+
(
and
nil
double-double
)
(
deftransform
float-sign
((
float
&optional
float2
)
(
double-double-float
&optional
double-double-float
)
*
)
(
if
float2
(
let
((
temp
(
gensym
)))
`
(
let
((
,
temp
(
abs
float2
)))
(
if
(
minusp
(
float-sign
(
double-double-hi
float
)))
(
-
,
temp
)
,
temp
)))
'
(
if
(
minusp
(
float-sign
(
double-double-hi
float
)))
-1w0
1w0
)))
;;;; DECODE-FLOAT, INTEGER-DECODE-FLOAT, SCALE-FLOAT:
;;;
...
...
@@ -778,13 +704,6 @@
(
%sincos
x
)
(
complex
c
s
)))
#+
(
and
nil
double-double
)
(
deftransform
cis
((
x
)
(
double-double-float
)
*
)
`
(
multiple-value-bind
(
s
c
)
(
kernel::dd-%sincos
x
)
(
complex
c
s
)))
;;; The argument range is limited on the x86 FP trig. functions. A
;;; post-test can detect a failure (and load a suitable result), but
;;; this test is avoided if possible.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment