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
2f5e75e6
Commit
2f5e75e6
authored
Dec 22, 2016
by
Daniel Kochmański
Browse files
fix mistake with sign
parent
0674c0d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
numbers/atan.lsp
View file @
2f5e75e6
...
...
@@ -129,8 +129,8 @@
;;; ieee-fp tests
(deftest atan.ieee.1 :description "Verify if atan handles 0.0 correctly"
(flet ((+pi-p (elt) (< (abs (- pi elt)) 0.01))
(+pi/2-p (elt) (< (abs (
+
(/ pi 2) elt)) 0.01))
(-pi/2-p (elt) (< (abs (
-
(/ pi 2) elt)) 0.01)))
(+pi/2-p (elt) (< (abs (
-
(/ pi 2) elt)) 0.01))
(-pi/2-p (elt) (< (abs (
+
(/ pi 2) elt)) 0.01)))
;; (atan +-0 +(anything-but-nan)) -> +-0
;; (atan +-0 -(anything-but-nan)) -> +-pi
;; (atan +-(anything-but-0/nan) 0) -> +-pi/2
...
...
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