Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
aee20de2
Commit
aee20de2
authored
May 15, 2012
by
Paolo Bosetti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code formatting; Added credits for erf/erfc implementation
parent
2948a96c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
37 deletions
+41
-37
src/math.c
src/math.c
+41
-37
No files found.
src/math.c
View file @
aee20de2
...
@@ -17,6 +17,10 @@
...
@@ -17,6 +17,10 @@
#define atanh(x) (log(1+x) - log(1-x))/2.0
#define atanh(x) (log(1+x) - log(1-x))/2.0
#define cbrt(x) pow(x,1.0/3.0)
#define cbrt(x) pow(x,1.0/3.0)
/*
** Implementations of error functions
** credits to http://www.digitalmars.com/archives/cplusplus/3634.html
*/
#define REL_ERROR 1E-12
#define REL_ERROR 1E-12
/* Implementation of Error function */
/* Implementation of Error function */
double
double
...
...
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