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
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ansi-test
ansi-test
Commits
0808c9fe
Commit
0808c9fe
authored
Dec 22, 2016
by
Daniel Kochmański
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atan: inf: be explicit in the comment about the sign
parent
be7f6528
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
numbers/atan.lsp
numbers/atan.lsp
+12
-7
No files found.
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