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
Boxiang Sun
cython
Commits
ffc5ffb0
Commit
ffc5ffb0
authored
Sep 24, 2013
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #252 from larsmans/math-missing
some missing math.h functions and macros in math.pxd
parents
19fab8f2
46139024
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
Cython/Includes/libc/math.pxd
Cython/Includes/libc/math.pxd
+14
-2
No files found.
Cython/Includes/libc/math.pxd
View file @
ffc5ffb0
cdef
extern
from
"math.h"
nogil
:
double
M_E
double
M_LOG2E
double
M_LOG10E
...
...
@@ -14,6 +13,13 @@ cdef extern from "math.h" nogil:
double
M_SQRT2
double
M_SQRT1_2
# C99 constants
float
INFINITY
float
NAN
double
HUGE_VAL
float
HUGE_VALF
long
double
HUGE_VALL
double
acos
(
double
x
)
double
asin
(
double
x
)
double
atan
(
double
x
)
...
...
@@ -71,8 +77,15 @@ cdef extern from "math.h" nogil:
long
lround
(
double
)
double
copysign
(
double
,
double
)
float
copysignf
(
float
,
float
)
long
double
copysignl
(
long
double
,
long
double
)
double
erf
(
double
)
float
erff
(
float
)
long
double
erfl
(
long
double
)
double
erfc
(
double
)
double
erfcf
(
double
)
long
double
erfcl
(
double
)
double
fdim
(
double
x
,
double
y
)
double
fma
(
double
x
,
double
y
)
...
...
@@ -82,4 +95,3 @@ cdef extern from "math.h" nogil:
double
scalbn
(
double
x
,
int
n
)
double
nan
(
char
*
)
# const char*
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