Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Karsten Poeck
ansi-test
Commits
a212df0d
Commit
a212df0d
authored
Dec 22, 2016
by
Daniel Kochmański
Browse files
cosmetic: fix comment placement
parent
bacaecf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
numbers/atan.lsp
View file @
a212df0d
...
...
@@ -128,16 +128,16 @@
;;; ieee-fp tests
(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)
;; we are not testing accuracy, so this simplified
;; pre
c
dicate would be sufficient for our needs. We are
;;
also
not interested in sign of the result, because we
;;
don't
know whenever zero is signed or not.
;; predicate would be sufficient for our needs. We are
also
;; not interested in sign of the result, because we
don't
;; know whenever zero is signed or not.
(<= (abs (- (abs a) (abs b))) 0.01)))
(every #'identity
(append
;; (atan +-0 +(anything-but-nan)) -> +-0
;; (atan +-0 -(anything-but-nan)) -> +-pi
(map 'list (lambda (n)
;; notice, that we don't test a case, where
;; both arguments are 0.0, because if
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment