Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
42f548bf
Commit
42f548bf
authored
Oct 17, 2016
by
Robert Bradshaw
Committed by
GitHub
Oct 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1491 from veprbl/c99_isinf
Revert "test: assert that isinf returns -1 for negative infinity"
parents
15a40e21
9b9dd7ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tests/run/numpy_math.pyx
tests/run/numpy_math.pyx
+1
-2
No files found.
tests/run/numpy_math.pyx
View file @
42f548bf
...
...
@@ -37,8 +37,7 @@ def test_fp_classif():
assert
not
npmath
.
isnan
(
d_zero
)
assert
not
npmath
.
isnan
(
f_zero
)
assert
npmath
.
isinf
(
npmath
.
INFINITY
)
==
1
assert
npmath
.
isinf
(
-
npmath
.
INFINITY
)
==
-
1
assert
npmath
.
isinf
(
npmath
.
INFINITY
)
assert
npmath
.
isnan
(
npmath
.
NAN
)
assert
npmath
.
signbit
(
npmath
.
copysign
(
1.
,
-
1.
))
...
...
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