Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
0808c9fe
Commit
0808c9fe
authored
Dec 22, 2016
by
Daniel Kochmański
Browse files
atan: inf: be explicit in the comment about the sign
parent
be7f6528
Changes
1
Hide whitespace changes
Inline
Side-by-side
numbers/atan.lsp
View file @
0808c9fe
...
...
@@ -175,13 +175,18 @@
;;; no portable ieee-fp, we could put it in ansi-beyond test suite
;;; though:
;;;
;;; (atan (anything) nan) -> nan
;;; (atan nan (anything)) -> nan
;;; (atan +-inf +inf) -> +-pi/4
;;; (atan +-inf -inf) -> +-3pi/4
;;; (atan +-(anything-but-inf/nan), +inf) -> +-0
;;; (atan +-(anything-but-inf/nan), -inf) -> +-pi
;;; (atan +-inf (anything-but-0/nan/inf)) -> +-pi/2
;;; (atan (anything) nan) -> nan
;;; (atan nan (anything)) -> nan
;;; (atan +inf +inf) -> +pi/4
;;; (atan -inf +inf) -> -pi/4
;;; (atan +inf -inf) -> +3pi/4
;;; (atan -inf -inf) -> -3pi/4
;;; (atan -(anything-but/inf+nan), +inf) -> -0
;;; (atan +(anything-but/inf+nan), +inf) -> +0
;;; (atan +(anything-but/inf+nan), -inf) -> +pi
;;; (atan -(anything-but/inf+nan), -inf) -> -pi
;;; (atan +inf (anything-but/0+inf+nan)) -> +pi/2
;;; (atan -inf (anything-but/0+inf+nan)) -> -pi/2
;;;
;;; Error tests
...
...
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