Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ansi-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Mark Evenson
ansi-test
Commits
a212df0d
Commit
a212df0d
authored
8 years ago
by
Daniel Kochmański
Browse files
Options
Downloads
Patches
Plain Diff
cosmetic: fix comment placement
parent
bacaecf2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
numbers/atan.lsp
+5
-5
5 additions, 5 deletions
numbers/atan.lsp
with
5 additions
and
5 deletions
numbers/atan.lsp
+
5
−
5
View file @
a212df0d
...
@@ -128,16 +128,16 @@
...
@@ -128,16 +128,16 @@
;;; ieee-fp tests
;;; ieee-fp tests
(deftest atan.ieee.1 :description "Verify if atan handles 0.0 correctly"
(deftest atan.ieee.1 :description "Verify if atan handles 0.0 correctly"
;; (atan +-0 +(anything-but-nan)) -> +-0
;; (atan +-0 -(anything-but-nan)) -> +-pi
(flet ((pip (a b)
(flet ((pip (a b)
;; we are not testing accuracy, so this simplified
;; we are not testing accuracy, so this simplified
;; pre
c
dicate would be sufficient for our needs. We are
;; predicate would be sufficient for our needs. We are
also
;;
also
not interested in sign of the result, because we
;; not interested in sign of the result, because we
don't
;;
don't
know whenever zero is signed or not.
;; know whenever zero is signed or not.
(<= (abs (- (abs a) (abs b))) 0.01)))
(<= (abs (- (abs a) (abs b))) 0.01)))
(every #'identity
(every #'identity
(append
(append
;; (atan +-0 +(anything-but-nan)) -> +-0
;; (atan +-0 -(anything-but-nan)) -> +-pi
(map 'list (lambda (n)
(map 'list (lambda (n)
;; notice, that we don't test a case, where
;; notice, that we don't test a case, where
;; both arguments are 0.0, because if
;; both arguments are 0.0, because if
...
...
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