Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
64d12ee1
Commit
64d12ee1
authored
Sep 10, 2003
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a test for a bug that had been found in SBCL by randomized testing.
parent
fef8e967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ansi-tests/logand.lsp
ansi-tests/logand.lsp
+8
-1
No files found.
ansi-tests/logand.lsp
View file @
64d12ee1
...
...
@@ -73,7 +73,14 @@
for args = (nconc (make-list (1- i) :initial-element -1)
(list 183))
always (eql (apply #'logand args) 183))
t)
t)
(deftest logand.9
(loop for i from -1 to 0 always
(loop for j from -1 to 0 always
(locally (declare (type (integer -1 0) i j))
(eql (logand i j) (if (or (zerop i) (zerop j)) 0 -1)))))
t)
(deftest logand.order.1
(let ((i 0) a b)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment